Skip to content

Instantly share code, notes, and snippets.

@olibob
Created August 10, 2013 18:00
Show Gist options
  • Select an option

  • Save olibob/6201449 to your computer and use it in GitHub Desktop.

Select an option

Save olibob/6201449 to your computer and use it in GitHub Desktop.

Revisions

  1. olibob revised this gist Aug 10, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions new_gist_file
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@ Find device:
    ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]

    List props:

    [bob@arch ScreenShots]$ xinput --list-props 'Logitech Unifying Device. Wireless PID:101a'
    Device 'Logitech Unifying Device. Wireless PID:101a':
    Device Enabled (133): 1
    @@ -47,4 +48,5 @@ Device 'Logitech Unifying Device. Wireless PID:101a':


    Change setting:

    xinput --set-prop 'Logitech Unifying Device. Wireless PID:101a' 'Device Accel Profile' 2
  2. olibob revised this gist Aug 10, 2013. 1 changed file with 50 additions and 1 deletion.
    51 changes: 50 additions & 1 deletion new_gist_file
    Original file line number Diff line number Diff line change
    @@ -1 +1,50 @@
    xinput --set-prop 'Logitech Unifying Device. Wireless PID:101a' 'Device Accel Profile' 2
    Find device:

    [bob@arch ScreenShots]$ xinput --list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ Logitech Logitech Illuminated Keyboard id=13 [slave pointer (2)]
    ⎜ ↳ ETPS/2 Elantech Touchpad id=16 [slave pointer (2)]
    ⎜ ↳ Logitech Unifying Device. Wireless PID:101a id=11 [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)]
    ↳ USB 2.0 UVC 0.3M Webcam id=10 [slave keyboard (3)]
    ↳ Logitech Logitech Illuminated Keyboard id=12 [slave keyboard (3)]
    ↳ Asus Laptop extra buttons id=14 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]

    List props:
    [bob@arch ScreenShots]$ xinput --list-props 'Logitech Unifying Device. Wireless PID:101a'
    Device 'Logitech Unifying Device. Wireless PID:101a':
    Device Enabled (133): 1
    Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (259): 2
    Device Accel Constant Deceleration (260): 1.000000
    Device Accel Adaptive Deceleration (261): 1.000000
    Device Accel Velocity Scaling (262): 10.000000
    Device Product ID (254): 1133, 50475
    Device Node (255): "/dev/input/event6"
    Evdev Axis Inversion (263): 0, 0
    Evdev Axes Swap (265): 0
    Axis Labels (266): "Rel X" (143), "Rel Y" (144), "Rel Horiz Wheel" (281), "Rel Vert Wheel" (258)
    Button Labels (267): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (503), "Button Extra" (504), "Button Forward" (505), "Button Back" (506), "Button Task" (507), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257), "Button Unknown" (257)
    Evdev Middle Button Emulation (268): 0
    Evdev Middle Button Timeout (269): 50
    Evdev Third Button Emulation (270): 0
    Evdev Third Button Emulation Timeout (271): 1000
    Evdev Third Button Emulation Button (272): 3
    Evdev Third Button Emulation Threshold (273): 20
    Evdev Wheel Emulation (274): 0
    Evdev Wheel Emulation Axes (275): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (276): 10
    Evdev Wheel Emulation Timeout (277): 200
    Evdev Wheel Emulation Button (278): 4
    Evdev Drag Lock Buttons (279): 0


    Change setting:
    xinput --set-prop 'Logitech Unifying Device. Wireless PID:101a' 'Device Accel Profile' 2
  3. olibob created this gist Aug 10, 2013.
    1 change: 1 addition & 0 deletions new_gist_file
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    xinput --set-prop 'Logitech Unifying Device. Wireless PID:101a' 'Device Accel Profile' 2