unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 47af9f8398d7129a31482d4237804577bb2ee563 700 bytes (raw)
name: packages/patches/ergodox-firmware-fix-numpad.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
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();
 }
 

debug log:

solving 47af9f8398d7129a31482d4237804577bb2ee563 ...
found 47af9f8398d7129a31482d4237804577bb2ee563 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).