forked from mirrors/qmk_firmware
move clueboard/2x1800/2019 to json custom keycodes
This commit is contained in:
parent
0a33ce0659
commit
5b0b8ba654
2 changed files with 1 additions and 11 deletions
|
@ -17,17 +17,6 @@
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
enum TWOx1800_keycodes {
|
|
||||||
ENC_BTN1 = SAFE_RANGE,
|
|
||||||
ENC_BTN2,
|
|
||||||
ENC_BTN3,
|
|
||||||
ENC_BTN4,
|
|
||||||
NEW_SAFE_RANGE
|
|
||||||
};
|
|
||||||
|
|
||||||
#undef SAFE_RANGE
|
|
||||||
#define SAFE_RANGE NEW_SAFE_RANGE
|
|
||||||
|
|
||||||
// Encoder update function that returns true/false
|
// Encoder update function that returns true/false
|
||||||
bool encoder_update_keymap(uint8_t index, bool clockwise);
|
bool encoder_update_keymap(uint8_t index, bool clockwise);
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"debounce": 5,
|
"debounce": 5,
|
||||||
"processor": "at90usb1286",
|
"processor": "at90usb1286",
|
||||||
"bootloader": "halfkay",
|
"bootloader": "halfkay",
|
||||||
|
"custom_keycodes": ["ENC_BTN1", "ENC_BTN2", "ENC_BTN3", "ENC_BTN4"],
|
||||||
"diode_direction": "ROW2COL",
|
"diode_direction": "ROW2COL",
|
||||||
"features": {
|
"features": {
|
||||||
"audio": true,
|
"audio": true,
|
||||||
|
|
Loading…
Reference in a new issue