~jagtalon/qmk-ploopy-trackball

1fc59954284a861922337c7fae115b09c152f2b0 — Jag Talon 1 year, 10 months ago 4d7abc7
Drag scroll is buggy. Remove it for now.
1 files changed, 5 insertions(+), 11 deletions(-)

M keymap.c
M keymap.c => keymap.c +5 -11
@@ 27,21 27,15 @@ enum custom_ploopy {

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    [0] = LAYOUT(
        KC_BTN1, LT(2, KC_BTN3), KC_BTN2,
          KC_BTN4, LT(1, KC_BTN5)
    ),
    // Drag scroll:
    // Hold button 5 and button 1 while rolling the trackball.
    [1] = LAYOUT(
        DRAG_SCROLL, _______, _______,
          _______, _______
        KC_BTN1, TO(1), KC_BTN2,
          KC_BTN4, KC_BTN5
    ),
    // Browser navigation:
    // Hold middle button + button 4 = Ctrl + Tab
    // Hold middle button + button 5 = Ctrl + Shift + Tab
    [2] = LAYOUT(
        _______, _______, _______,
          CTRL_TAB, CTRL_SHIFT_TAB
    [1] = LAYOUT(
        _______, TO(0), _______,
          CTRL_SHIFT_TAB, CTRL_TAB
    )
};