mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
9e4008e36e
* gnu/packages/firmware.scm (make-ergodox-firmware): New procedure (ergodox-firmware-colemak-jc-mod): New variable. * gnu/packages/patches/ergodox-firmware-fix-json-target.patch: New file. * gnu/packages/patches/ergodox-firmware-fix-numpad.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them.
18 lines
700 B
Diff
18 lines
700 B
Diff
Submitted upstream: https://github.com/benblazak/ergodox-firmware/pull/100
|
|
|
|
diff --git a/src/lib/key-functions/public/special.c b/src/lib/key-functions/public/special.c
|
|
index 42aba45..6488137 100644
|
|
--- a/src/lib/key-functions/public/special.c
|
|
+++ b/src/lib/key-functions/public/special.c
|
|
@@ -102,9 +102,9 @@ void kbfun_2_keys_capslock_press_release(void) {
|
|
static uint8_t numpad_layer_id;
|
|
|
|
static inline void numpad_toggle_numlock(void) {
|
|
- _kbfun_press_release(true, KEY_LockingNumLock);
|
|
+ _kbfun_press_release(true, KEYPAD_NumLock_Clear);
|
|
usb_keyboard_send();
|
|
- _kbfun_press_release(false, KEY_LockingNumLock);
|
|
+ _kbfun_press_release(false, KEYPAD_NumLock_Clear);
|
|
usb_keyboard_send();
|
|
}
|
|
|