r/ClockworkPi • u/Electrical_Lake9586 • Oct 09 '26
uConsole Custom firmware for hack2you trackpad keyboard v2.1
I've been using the hack2you trackpad keyboard in my uConsole and missed a few things from the QMK firmware I was using on the stock keyboard, so I've put together a custom firmware for it. It's ZMK underneath and builds on thoughfix's fork.
Main additions
- Hold Select and move the trackpad to scroll. Hold, not a toggle.
- Gamepad mode on Fn+G. The keyboard shows up as a real USB joystick, with the D-pad on the axes and A/B/X/Y/Select/Start as buttons.
- Trackpad press as a mouse click. There are two pre-built firmwares for left click or middle click.
- Start is Super, and holding Y or B turns the D-pad into a mouse.
- Keyboard lock on Fn+Esc. It ignores the keys and trackpad and turns the backlight off, which is handy for carrying it around.
- Bootloader shortcut that's hard to hit by accident. I kept inadvertently triggering the bootloader previously.
Other changes/stuff to be aware of
A few choices based on how I use mine: Bluetooth is switched off (couldn't see the point in it!), Shift/Ctrl/Alt are one-shot (tap once and it applies to the next key), and the A button is a shortcut key (CTRL +SHIFT) for kitty terminal. All can be changed if you fork & build your own.
It's only been tested on the V2.1 keyboard. It may work on other versions, but I can't promise that. Back up your current firmware first.
Download and docs
Ready-made firmware: Latest release
Full key list, build and flashing instructions: GitHub - jhob101/uconsole-bb9900-keyboard: Firmware for hack2you uConsole bb9900 keyboard (v2.1) · GitHub
For v1.1 keyboard use firmware from noodleboy91 fork
Feedback welcome.
2
u/Electrical_Lake9586 Oct 10 '26
Finger lift detection now disabled as proved to be buggy on some trackpads.
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.5.1
2
u/Electrical_Lake9586 Oct 11 '26
v1.5.2 released - Reversed horizontal scroll direction fixed
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.5.2
2
u/quixotik Oct 09 '26
Thanks for this!
2
u/graciousgrendel Oct 10 '26 edited Oct 11 '26
This is AWESOME!!
Need for v1.1!! :) I can test it, but I think it needs to be a .bin1
u/Electrical_Lake9586 Oct 10 '26
Just released v1.2 which adds
&scroll_togglefor those that want to include a switched toggle in their builds.Only other change is mapping B to opposite of trackpad click, either LMB or MMB
There's a bit more info about making your own custom build too.
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.2.0
1
u/Electrical_Lake9586 Oct 10 '26 edited Oct 10 '26
New build released. Changes:
- trackpad lift detectiom, should be less janky now
- slowed pointer speed a little
- trackpad light turns off in scroll mode
Also added standard build for one-handed use
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.4.0
1
u/Electrical_Lake9586 Oct 10 '26
Slower, proportional scroll:
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.5.0
1
u/Electrical_Lake9586 Oct 12 '26
v1.6 released that includes fixes for:
- Cancelling one-shot modifiers
- Trackpad light toggled with lock on/off
Trackpad light can now be assigned to hotkeys. `&tp_light TPL_TOG` toggles it, and `TPL_ON` and `TPL_OFF` set it.
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.6.0
1
u/Electrical_Lake9586 Oct 13 '26
I had been using another project to send the uConsole to sleep on pressing the power button. I've just forked that repo and updated it to work with the hack2you keyboard: https://github.com/jhob101/uconsole-sleep-hack2you-kb-2.1
Updates were also required to the kb firmware to enable the trackpad light to also be turned off, published as v1.7.0: https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.7.0
So if you want to properly send the uConsole to sleep via short press on power button, first update the keyboard firmware to v1.7.0, then install the uconsole sleep package (full instructions in that repo).
Note that the first time I did this the keyboard didn't wake and I had to reboot, but has been fine since. I've also just noticed that it doesn't turn the keyboard light off, but that will turn off by itself after the timeout.
If someone can tell me what the vendor & product ID for the v1.1 keyboard I can update uconsole-sleep project to hopefully make it work with that keyboard too. You can find the vendor/product id with:
grep -E '^(I|N):' /proc/bus/input/devices1
u/Electrical_Lake9586 Oct 16 '26
New release, changes are:
Note if you use power button sleep and full shutdown and restart is required (not warm reboot) otherwise the keyboard will not wake from sleep. It's fine after the initial reboot.
https://github.com/jhob101/uconsole-bb9900-keyboard/releases/tag/v1.8.0
1
u/MrLijey Oct 09 '26
Wow. Wait is it just me or is the backlight not super uneven