ThumbsUp! Trackball v4 supports ZMK.Studio for the button configuration.
ZMK.Studio Connection
To connect to ZMK.Studio:
- connect trackball to computer with USB cable,
- in the Internet Browser navigate to https://zmk.studio/
A prompt will be shown:
Note that some applications may intercept COM ports (e.g. Cura 3D Slicer) and prevent ZMK connection to that device, showing an error message. Close all apps that may work with COM ports and try again.
A prompt to unlock the device should/may appear, this is a ZMK security feature, protecting the trackball from the unauthorized re-configuration by malicious software:
To configure button - select layer, then the key, and then pick the desired action for that key:
Changes are applied immediately.
Buttons v. Switches
DO NOT MODIFY THE TWO BOTTOM ROWS OF KEYS!
Slider switches and service buttons on the middle PCB could be redefined with ZMK.Studio.
It is a good idea to leave them as they are.
Slider switches define layer for buttons: normal (USB away from you) or backward (USB cable towards you), hand the trackball is used with, and the ball behavior - whether it should be treated as pointer move or scrolling. See below for the layer definition.
Metal buttons are used for pre-defined actions:
RESET is hardwired to put the device in the bootload mode, to flash the firmware.
RESET is hardwired to put the device in the bootload mode, to flash the firmware.
UNLOCK sends a special command to unlock ZMK.Studio as described above.
BT NEXT switches to the next Bluetooth profile, there are three profiles to use the trackball with three different computers. This button switches between those three defices.
BT RESET clears the current Bluetooth profile, making the device to forget computer associated with that profile.
Layers
Layers are used to define the trackball orientation, hand the ball is used with which are used - slider switches on the back of the device are
0, FRONT_RIGHT - Mouse is held with right hand, USB port points away from you
1, FRONT_LEFT - Mouse is held with left hand, USB port points away from you
2, BACK_RIGHT - Mouse is held with right hand, USB port points towards you
3, BACK_LEFT - Mouse is held with left hand, USB port points towards you
4, FRONT_SCROLL - Mouse is held with right hand, USB port points towards you
5, BACKWARD_SCROLL
First four layers are controlled by the configuration slider switches on the back of the trackball.
Scrolling layers are turned on momentarily by holding one of the keys:
You probably need to restrict button definition to one of the layers 0..3 - the one that fits your slider switch positions.
Mouse Key Configuration
Unfortunately, ZMK.Studio does not show mouse buttons labels:
Definition of the mouse keys appears only when specific button is selected:
Mouse key labels include:
| Define | Action |
|---|---|
MB1, LCLK | Left click |
MB2, RCLK | Right click |
MB3, MCLK | Middle click |
MB4 | Mouse button 4, in Internet Browsers it is usually Forward |
MB5 | Mouse button 5, Backward |
Trackball Reset
You can always revert the trackball to its default configuration by re-flashing its firmware.
For that:
- download two UF2 files to your computer from here:
https://github.com/ak66666/ThumbsUp-Trackball-v4/tree/main/firmware.working
- connect trackball to the computer with USB cable
- press RESET button on the middle PCB.
- a new drive should appear in the system.
- copy file "a_ball-nice_nano_v2-zmk.uf2" to that drive.
- device will restart and the default button layout.
- Bluetooth connections should be preserved.
Troubleshooting
If the device misbehaves, e.g. is unable to connect to BT, try flash file "settings_reset-nice_nano_v2-zmk.uf2" using the steps mentioned above, then re-flash "a_ball-nice_nano_v2-zmk.uf2" again.
All Bluetooth configuration will be erased, you will need to re-connect trackball to Bluetooth.
Comments
Post a Comment