diff --git a/keyboards/ploopyco/trackball/keymaps/rekahsoft/config.h b/keyboards/ploopyco/trackball/keymaps/rekahsoft/config.h new file mode 100644 index 0000000000..225a7440f1 --- /dev/null +++ b/keyboards/ploopyco/trackball/keymaps/rekahsoft/config.h @@ -0,0 +1,3 @@ +#define PLOOPY_DPI_OPTIONS { 600, 900, 1200, 1600, 2400 } +#define PLOOPY_DPI_DEFAULT 1 +#define PLOOPY_DRAGSCROLL_INVERT yes diff --git a/keyboards/ploopyco/trackball/keymaps/rekahsoft/keymap.c b/keyboards/ploopyco/trackball/keymaps/rekahsoft/keymap.c new file mode 100644 index 0000000000..7fcbcb1a22 --- /dev/null +++ b/keyboards/ploopyco/trackball/keymaps/rekahsoft/keymap.c @@ -0,0 +1,26 @@ +#include QMK_KEYBOARD_H + +#define _MOUSE 0 +#define _UTILITY 1 +#define _MEDIA 2 + +enum custom_keycodes { + MOUSE = SAFE_RANGE, + UTILITY, + MEDIA, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_MOUSE] = LAYOUT( /* Base */ + KC_BTN1, KC_BTN3, KC_BTN2, + LT(UTILITY, KC_BTN4), LT(MEDIA, KC_BTN5) + ), + [_UTILITY] = LAYOUT( + DRAG_SCROLL, _______, DPI_CONFIG, + _______, _______ + ), + [_MEDIA] = LAYOUT( + KC_MPLY, KC_MPRV, KC_MNXT, + _______, _______ + ), +};