ploopy-trackball: Add rekahsoft keymap
This commit is contained in:
parent
120f42844f
commit
900db5363b
3
keyboards/ploopyco/trackball/keymaps/rekahsoft/config.h
Normal file
3
keyboards/ploopyco/trackball/keymaps/rekahsoft/config.h
Normal file
@ -0,0 +1,3 @@
|
||||
#define PLOOPY_DPI_OPTIONS { 600, 900, 1200, 1600, 2400 }
|
||||
#define PLOOPY_DPI_DEFAULT 1
|
||||
#define PLOOPY_DRAGSCROLL_INVERT yes
|
26
keyboards/ploopyco/trackball/keymaps/rekahsoft/keymap.c
Normal file
26
keyboards/ploopyco/trackball/keymaps/rekahsoft/keymap.c
Normal file
@ -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,
|
||||
_______, _______
|
||||
),
|
||||
};
|
Loading…
Reference in New Issue
Block a user