You are not logged in.

#1 2012-09-17 20:27:44

Huskehn
Member
Registered: 2012-02-06
Posts: 13

Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

I can't change the ConstantDeceleration of my Razer DeathAdder, because the property for some reason does not exist.

[huskehn@arch ~]$ xinput --list-props "Razer Razer DeathAdder"Device 'Razer Razer DeathAdder':
	Device Enabled (142):	1
	Coordinate Transformation Matrix (144):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Product ID (259):	5426, 22
	Device Node (260):	"/dev/input/event1"
	Evdev Axis Inversion (273):	0, 0
	Evdev Axes Swap (275):	0
	Axis Labels (276):	"Rel X" (152), "Rel Y" (153), "Rel Vert Wheel" (268)
	Button Labels (277):	"Button Left" (145), "Button Middle" (146), "Button Right" (147), "Button Wheel Up" (148), "Button Wheel Down" (149), "Button Horiz Wheel Left" (150), "Button Horiz Wheel Right" (151), "Button Side" (263), "Button Extra" (264), "Button Forward" (265), "Button Back" (266), "Button Task" (267), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262)
	Evdev Middle Button Emulation (278):	0
	Evdev Middle Button Timeout (279):	50
	Evdev Third Button Emulation (280):	0
	Evdev Third Button Emulation Timeout (281):	1000
	Evdev Third Button Emulation Button (282):	3
	Evdev Third Button Emulation Threshold (283):	20
	Evdev Wheel Emulation (284):	0
	Evdev Wheel Emulation Axes (285):	0, 0, 4, 5
	Evdev Wheel Emulation Inertia (286):	10
	Evdev Wheel Emulation Timeout (287):	200
	Evdev Wheel Emulation Button (288):	4
	Evdev Drag Lock Buttons (289):	0
[huskehn@arch ~]$ xinput set-prop "Razer Razer DeathAdder" "ConstantDeceleration" 5
property 'ConstantDeceleration' doesn't exist, you need to specify its type and format

I've tried specifying this in /etc/X11/xorg.conf.d/50-mouse-deceleration.conf with no luck. None of the properties one would use in that conf file are listed when I do xinput --list-props. Does anyone know why this is happening and how I can fix it?

Offline

#2 2012-09-17 20:47:00

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

The property name you should be using is:  "Device Accel Constant Deceleration"

See thread.

Offline

#3 2012-09-17 20:49:26

Huskehn
Member
Registered: 2012-02-06
Posts: 13

Re: Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

brebs wrote:

The property name you should be using is:  "Device Accel Constant Deceleration"

See thread.

Unfortunately, that gives me the same error:

[huskehn@arch ~]$ xinput set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 5
property 'Device Accel Constant Deceleration' doesn't exist, you need to specify its type and format

I was using "ConstantDeceleration" because it says to on the ArchWiki "Mouse acceleration" page.

Offline

#4 2012-09-18 07:25:52

don_crissti
Member
Registered: 2009-03-17
Posts: 35

Re: Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

Huskehn,

Most likely it has to do with your setup and how it's being detected. My Razer (DeathAdder left-handed) is OK as you can see from the output below. Autodetected & configured by the system... I have no config file except the default /etc/X11/xorg.conf.d/10-evdev.conf and I only have the evdev driver installed. Arch up-to-date, systemd only.

pacman -Qs xf86-input

local/xf86-input-evdev 2.7.3-1 (xorg-drivers xorg)
    X.org evdev input driver
local/xf86-input-synaptics 1.6.2-1 (xorg-drivers xorg)
    Synaptics driver for notebook touchpads
xinput --list-props "Razer Razer DeathAdder"

Device 'Razer Razer DeathAdder':
	Device Enabled (134):	1
	Coordinate Transformation Matrix (136):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (262):	0
	Device Accel Constant Deceleration (263):	1.000000
	Device Accel Adaptive Deceleration (264):	1.000000
	Device Accel Velocity Scaling (265):	10.000000
	Device Product ID (252):	5426, 22
	Device Node (253):	"/dev/input/event7"
	Evdev Axis Inversion (266):	0, 0
	Evdev Axes Swap (268):	0
	Axis Labels (269):	"Rel X" (144), "Rel Y" (145), "Rel Vert Wheel" (261)
	Button Labels (270):	"Button Left" (137), "Button Middle" (138), "Button Right" (139), "Button Wheel Up" (140), "Button Wheel Down" (141), "Button Horiz Wheel Left" (142), "Button Horiz Wheel Right" (143), "Button Side" (256), "Button Extra" (257), "Button Forward" (258), "Button Back" (259), "Button Task" (260), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255)
	Evdev Middle Button Emulation (271):	0
	Evdev Middle Button Timeout (272):	50
	Evdev Third Button Emulation (273):	0
	Evdev Third Button Emulation Timeout (274):	1000
	Evdev Third Button Emulation Button (275):	3
	Evdev Third Button Emulation Threshold (276):	20
	Evdev Wheel Emulation (277):	0
	Evdev Wheel Emulation Axes (278):	0, 0, 4, 5
	Evdev Wheel Emulation Inertia (279):	10
	Evdev Wheel Emulation Timeout (280):	200
	Evdev Wheel Emulation Button (281):	4
	Evdev Drag Lock Buttons (282):	0
grep Razer /var/log/Xorg.0.log

(II) config/udev: Adding input device Razer Razer DeathAdder (/dev/input/event10)
(**) Razer Razer DeathAdder: Applying InputClass "evdev pointer catchall"
(II) Using input driver 'evdev' for 'Razer Razer DeathAdder'
(**) Razer Razer DeathAdder: always reports core events
(**) evdev: Razer Razer DeathAdder: Device: "/dev/input/event10"
(--) evdev: Razer Razer DeathAdder: Vendor 0x1532 Product 0x16
(--) evdev: Razer Razer DeathAdder: Found 12 mouse buttons
(--) evdev: Razer Razer DeathAdder: Found scroll wheel(s)
(--) evdev: Razer Razer DeathAdder: Found relative axes
(--) evdev: Razer Razer DeathAdder: Found x and y relative axes
(II) evdev: Razer Razer DeathAdder: Configuring as mouse
(II) evdev: Razer Razer DeathAdder: Adding scrollwheel support
(**) evdev: Razer Razer DeathAdder: YAxisMapping: buttons 4 and 5
(**) evdev: Razer Razer DeathAdder: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Razer Razer DeathAdder" (type: MOUSE, id 13)
(II) evdev: Razer Razer DeathAdder: initialized for relative axes.
(**) Razer Razer DeathAdder: (accel) keeping acceleration scheme 1
(**) Razer Razer DeathAdder: (accel) acceleration profile 0
(**) Razer Razer DeathAdder: (accel) acceleration factor: 2.000
(**) Razer Razer DeathAdder: (accel) acceleration threshold: 4
(II) config/udev: Adding input device Razer Razer DeathAdder (/dev/input/mouse1)
dmesg | grep Razer

input: Razer Razer DeathAdder as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.0/input/input10
hid-generic 0003:1532:0016.0001: input,hidraw0: USB HID v1.11 Mouse [Razer Razer DeathAdder] on usb-0000:04:00.0-1/input0
lsusb -D /dev/bus/usb/003/002

Device: ID 1532:0016 Razer USA, Ltd DeathAdder Mouse
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x0016 DeathAdder Mouse
  bcdDevice            1.00
  iManufacturer           1 Razer
  iProduct                2 Razer DeathAdder
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      73
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)

Offline

#5 2016-05-03 19:38:53

*Dark Dragon*
Member
Registered: 2016-05-03
Posts: 1

Re: Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

I know this is old thread, but for me this is first result in when I was googling for error "property 'ConstantDeceleration' doesn't exist". So I decided to post a solution here, hopefully it will save some time somebody.

I have encountered the same issue (in my case deceleration property disappeared after distro upgrade). So I needed to find a new way to decelerate my mouse. After looking at available properties and reading documentation I was able to decelerate my mouse by running the following command:

id="pointer:Neo Reflection Neo Reflection Finger Mouse"; speed=0.333; xinput set-prop $id "Coordinate Transformation Matrix" $speed, 0, 0, 0, $speed, 0, 0, 0, 1

Of course, you need to use name of your own mouse and you may need to play with speed to find the one you prefer the most. Run "xinput list" to find out name of your mouse (you need to prefix mouse name with "pointer:" to prevent ambiguity if your mouse provides both pointer and keyboard of the same name, like in my case). Then you can add the command to some startup script so you do not have to run it manually after every reboot.

Last edited by *Dark Dragon* (2016-05-03 19:42:10)

Offline

#6 2016-05-03 20:20:34

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Razer DeathAdder - property 'ConstantDeceleration' doesn't exist

Thanks for sharing. I'm going to go ahead and close this old topic now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB