ploopy-trackball: Add rekahsoft keymap

This commit is contained in:
Collin J. Doering 2024-11-10 21:01:13 -05:00
parent 120f42844f
commit 900db5363b
Signed by: rekahsoft
GPG Key ID: F77E319397CDA716
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#define PLOOPY_DPI_OPTIONS { 600, 900, 1200, 1600, 2400 }
#define PLOOPY_DPI_DEFAULT 1
#define PLOOPY_DRAGSCROLL_INVERT yes

View 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,
_______, _______
),
};