Elecom Deft Pro
ID: 505df3ec-311c-4a4f-9d89-7fa1eb45e9e9 ROAM_ALIASES: M-DPT1MR
A trackball mouse made by the company Elecom.
1. Tech details
Put stuff in this section that relates to using and configuring this trackball in technical situations.
1.1. Button codes
| Button | KWin code |
|---|---|
| Left click | 272 |
| Right click | 273 |
| Scroll click | 274 |
| Backward | 275 |
| Forward | 276 |
| Fn1 | 277 |
| Fn2 | 278 |
| Fn3 | 279 |
1.2. Scroll modifier mode
A mode that enables scrolling with the trackball while a button is held down.
In KDE (Plasma) on Wayland (probably works on X11 as well), this can be configured with the following commands:
# It's possible the device ID differs on the current system, just use tab completion to find it event="$(basename $(readlink /dev/input/by-id/usb-ELECOM_TrackBall_Mouse_DEFT_Pro_TrackBall_894D39B704-if01-event-mouse))" qdbus org.kde.KWin /org/kde/KWin/InputDevice/$event org.kde.KWin.InputDevice.scrollOnButtonDown true # Or use any other button code from the table above qdbus org.kde.KWin /org/kde/KWin/InputDevice/$event org.kde.KWin.InputDevice.scrollButton 278
These qdbus commands will persist even if the mouse changes its eventXX name, somehow.
Instructions adapted from the Arch wiki.