Closed Pearl-852 closed 4 years ago
Just received a reply on the Kickstarter - CrowPi2 project page that only Fn+F1 is assigned for toggling the Touchpad. But I still recommend to add at lease the first 5 key combo as above if possible. Those 5 key combo assignments are extremely helpful when writing codes and working in the Terminal (cli).
I concur; code editing without Home and End keys is terribly awkward; other bindings are quite useful, too. Custom keyboard layout or key mapping would be awesome.
I did some poking around and now I'm not sure that even a custom driver will cut it.
Thing is, Fn key is not a "normal" key, there's no scancode for it; instead, having it pressed down makes keyboard send a different scancode for the key it's been pressed with. So I used showkey
in terminal to verify if I would get different scancodes for keys pressed with or without Fn; alas, I get the same scancodes.
Okay, so now the quiestion becomes, where does it get lost? Just out of curiosity, I plugged the keyboard to a Windows machine and used KeyboardStateView utility to read scancodes there. To my surprise, I'm still getting the same scancodes for keys pressed with and without Fn! So barring my complete misunderstanding of the process, it seems that either the keyboard itself is not doing what it supposed to do (now I'm curios whether Fn key is even wired to anything inside the keyboard) or it requires some custom (firmware? driver?) configuration to start behaving properly.
When we designed the keyboard, we only considered adding a key through FN to disable the touchpad, so other functions were not added. However, thank you so much for your suggestion, we will consider it in the next version of CrowPi2. Thanks again!
Pi400-keyboard-layout.pdf On the original Raspberry Pi Keyboard and the new Raspberry Pi 400, the Fn key + a key combo has the following KeyMap,
I would recommend to provide your own custom keyboard driver with the above additional KeyMap and revise the key-cap silkscreening.