You are not logged in.

#1 2020-04-11 17:58:17

brandflake11
Member
Registered: 2019-10-21
Posts: 4

[SOLVED] Unicomp Stick Two Button Scroll Method from Arch Wiki

Hello all,

I am trying to get my Unicomp Endurapro Pointing Stick (trackpoint with two mouse buttons) to scroll as per the Arch Wiki:
https://wiki.archlinux.org/index.php/TrackPoint

$ xinput set-prop "device" "libinput Button Scrolling Button" 3

So, I followed the wiki. I listed my xinput devices:

xinput --list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
⎜   ↳ Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38      id=16   [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft Trackball Optical®    id=17   [slave  pointer  (2)]
⎜   ↳ Synaptics TM3149-002                      id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C           id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=12   [slave  keyboard (3)]
    ↳ Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38      id=15   [slave  keyboard (3)]

Okay, right? So, I found my device and ran the command.

xinput set-prop "pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38" "libinput Button Scrolling Button" 3

After running this, nothing seems to have changed for the device. My right click on the keyboard still just does right click and doesn't allow for scrolling with the Unicomp pointing device.

I have gone through the relatively short xinput manual, and can see that the settings of the device afterwards are this:

$ xinput --list-props 16
Device 'Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38':
        Device Enabled (185):   1
        Coordinate Transformation Matrix (187): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (357):       0
        libinput Natural Scrolling Enabled Default (358):       0
        libinput Scroll Methods Available (359):        0, 0, 1
        libinput Scroll Method Enabled (360):   0, 0, 0
        libinput Scroll Method Enabled Default (361):   0, 0, 0
        libinput Button Scrolling Button (362): 3
        libinput Button Scrolling Button Default (363): 2
        libinput Middle Emulation Enabled (364):        1
        libinput Middle Emulation Enabled Default (365):        0
        libinput Accel Speed (366):     -0.200000
        libinput Accel Speed Default (367):     0.000000
        libinput Accel Profiles Available (368):        1, 1
        libinput Accel Profile Enabled (369):   1, 0
        libinput Accel Profile Enabled Default (370):   1, 0
        libinput Left Handed Enabled (371):     0
        libinput Left Handed Enabled Default (372):     0
        libinput Send Events Modes Available (304):     1, 0
        libinput Send Events Mode Enabled (305):        0, 0
        libinput Send Events Mode Enabled Default (306):        0, 0
        Device Node (307):      "/dev/input/event17"
        Device Product ID (308):        6134, 2144
        libinput Drag Lock Buttons (373):       <no items>
        libinput Horizontal Scroll Enabled (374):       1

So the setting 'sticked' after applying it. I just don't know enough about the button settings for this xinput/libinput feature to know what it really means.

It would be really cool to be able to scroll with the two button pointing stick on the keyboard. Does anyone know of a way to get this xinput feature working or what I may be doing wrong?

FINAL EDIT: Funnily enough, I kept on looking for this solution today and found a solution from this page:
https://unix.stackexchange.com/question … -emulation

This command ended up working for me, in combination with the Arch Wiki's suggestion:

xinput set-prop "pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38" "libinput Button Scrolling Button" 3                                                  
xinput --set-prop 'pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38' 'libinput Scroll Method Enabled' 0 0 1

I hope this helps others!

Last edited by brandflake11 (2020-04-12 15:06:46)

Offline

Board footer

Powered by FluxBB