#Caps Lock Led Indicator
1 messages · Page 1 of 1 (latest)
I assume the flags might be these, 0 to 5th bit: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf in section 11.1
This also implies it is 0 (num lock) through 4 (kana): https://github.com/zmkfirmware/zmk/blob/db2fc2bffdbb44639a012dac006e826d745f74af/app/include/zmk/hid.h#L127-L128
You mean where capslock_bit doesnt work? If so, https://github.com/zmkfirmware/zmk/pull/1485#issuecomment-1807234456
But I'd print the bitfield and confirm
I mean it is likely only missing the #define, I assume the bitfield itself still works
I see other implementations using BIT(1) for the caps lock bit as well
Just curious, what is kana?
It is a keyboard mode used in JIS keyboards, I think https://en.wikipedia.org/wiki/Kana
Maybe better link: https://en.wikipedia.org/wiki/Language_input_keys
Language input keys, which are usually found on Japanese and Korean keyboards, are keys designed to translate letters using an input method editor (IME). On non-Japanese or Korean keyboard layouts using an IME, these functions can usually be reproduced via hotkeys, though not always directly corresponding to the behavior of these keys.
So does this not work anymore?
#help message
I guess the code snippet doesn't work as is, but I don't see how it could ever have worked with the ZMK main branch. The Kconfig flag and the approach should work in general, though
Ah okay then, I’ll try that method and see if it works. It should be relatively simple.
Or maybe it was removed at some point, not sure
Do HID indicators work over bluetooth now? I read somewhere that they worked only over usb.
I think they are supposed to, but I don't know for sure