first working code/builds of qmk tidbit customizations
This commit is contained in:
parent
807a9a7df3
commit
d2c994c1ae
|
@ -7,7 +7,8 @@
|
|||
## Compiling
|
||||
|
||||
``` sh
|
||||
qmk compile -kb tidbit -km kemonine
|
||||
cd /qmk_firmware/users/kemonine
|
||||
qmk compile keymaps/tidbit.json
|
||||
```
|
||||
|
||||
## Docker Critical
|
||||
|
|
|
@ -12,27 +12,6 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
|||
return true;
|
||||
}
|
||||
|
||||
#define _BASE 0
|
||||
#define _FUNC 1
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT(
|
||||
TO(_FUNC), KC_NO, KC_KP_SLASH,
|
||||
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_ASTERISK,
|
||||
KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_MINUS,
|
||||
KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_PLUS,
|
||||
KC_NO, KC_KP_0, KC_KP_DOT, KC_KP_ENTER
|
||||
),
|
||||
|
||||
[_FUNC] = LAYOUT(
|
||||
TO(_BASE), PROG, KC_NO,
|
||||
KC_NO, KC_NO, RGB_MOD, KC_NO,
|
||||
KC_NO, KC_NO, RGB_HUI, KC_NO,
|
||||
KC_NO, KC_NO, RGB_SAI, KC_NO,
|
||||
KC_NO, KC_NO, RGB_VAI, KC_NO
|
||||
),
|
||||
};
|
||||
|
||||
/***** Nuke unneeded functionality *****/
|
||||
|
||||
void matrix_init_user(void) {
|
||||
|
|
|
@ -1,16 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
/**** TAP HOLD ****
|
||||
/**** TAP HOLD *****/
|
||||
#define TAPPING_TOGGLE 2
|
||||
#define PERMISSIVE_HOLD
|
||||
#define TAPPING_FORCE_HOLD
|
||||
#define TAPPING_TERM 100
|
||||
/**** END TAP HOLD *****/
|
||||
|
||||
/******** MOUSE KEYS **********
|
||||
/******** MOUSE KEYS **********/
|
||||
#define MK_KINETIC_SPEED
|
||||
#define MOUSEKEY_DELAY 16
|
||||
#define MOUSEKEY_MOVE_DELTA 10
|
||||
#define MOUSEKEY_INITIAL_SPEED 10
|
||||
#define MOUSEKEY_BASE_SPEED 300
|
||||
/******** END MOUSE KEYS ***********/
|
||||
|
||||
/***** Keyboard Definitions *****/
|
||||
#ifdef KEYBOARD_nullbitsco_tidbit
|
||||
#define ENCODERS_PAD_A { D3 }
|
||||
#define ENCODERS_PAD_B { D2 }
|
||||
#endif
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "kemonine.h"
|
||||
|
|
1
qmk/users/kemonine/kemonine.h
Normal file
1
qmk/users/kemonine/kemonine.h
Normal file
|
@ -0,0 +1 @@
|
|||
#pragma once
|
49
qmk/users/kemonine/keymaps/tidbit.json
Normal file
49
qmk/users/kemonine/keymaps/tidbit.json
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"keyboard":"nullbitsco/tidbit",
|
||||
"keymap":"kemonine",
|
||||
"layout":"LAYOUT",
|
||||
"layers":[
|
||||
[
|
||||
"TO(1)",
|
||||
"KC_NLCK",
|
||||
"KC_KP_SLASH",
|
||||
"KC_KP_7",
|
||||
"KC_KP_8",
|
||||
"KC_KP_9",
|
||||
"KC_KP_ASTERISK",
|
||||
"KC_KP_4",
|
||||
"KC_KP_5",
|
||||
"KC_KP_6",
|
||||
"KC_KP_MINUS",
|
||||
"KC_KP_1",
|
||||
"KC_KP_2",
|
||||
"KC_KP_3",
|
||||
"KC_KP_PLUS",
|
||||
"KC_NO",
|
||||
"KC_KP_0",
|
||||
"KC_KP_DOT",
|
||||
"KC_KP_ENTER"
|
||||
],
|
||||
[
|
||||
"TO(0)",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"RGB_MOD",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"RGB_HUI",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"RGB_SAI",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"KC_NO",
|
||||
"RGB_VAI",
|
||||
"KC_NO"
|
||||
]
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue