Hi!
Yes it should work like that in theory.
1. I still not get a button 5-event.
2. This nice option core key ... does not work either
my fdi:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" contains="wacom">
<match key="input.x11_options.Type" contains="stylus">
<merge key="input.x11_options.KeepShape" type="string">on</merge>
<merge key="input.x11_options.Button2" type="string">3</merge>
<merge key="input.x11_options.Button3" type="string">2</merge>
</match>
</match>
<match key="input.x11_driver" contains="wacom">
<match key="input.x11_options.Type" contains="pad">
<merge key="input.x11_options.Button1" type="string">core key ctrl alt left</merge>
<merge key="input.x11_options.Button2" type="string">1</merge>
<merge key="input.x11_options.Button3" type="string">core key ctrl alt right</merge>
<merge key="input.x11_options.Button4" type="string">2</merge>
<merge key="input.x11_options.AbsWUp" type="string">4</merge>
<merge key="input.x11_options.AbsWDn" type="string">5</merge>
</match>
</match>
</device>
</deviceinfo>
lshal output for "Wacom Bamboo pad"
Code:
udi = '/org/freedesktop/Hal/devices/usb_device_56a_65_noserial_if0_logicaldev_input_subdev_1'
info.capabilities = {'input'} (string list)
info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_65_noserial_if0_logicaldev_input' (string)
info.product = 'Wacom Bamboo pad' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_65_noserial_if0_logicaldev_input_subdev_1' (string)
input.device = '/dev/input/event9' (string)
input.x11_driver = 'wacom' (string)
input.x11_options.AbsWDn = '5' (string)
input.x11_options.AbsWUp = '4' (string)
input.x11_options.Button1 = 'core key ctrl alt left' (string)
input.x11_options.Button2 = '1' (string)
input.x11_options.Button3 = 'core key ctrl alt right' (string)
input.x11_options.Button4 = '2' (string)
input.x11_options.Type = 'pad' (string)
fdi-file seems to work as it should
Xorg.0.log output for "Wacom Bamboo pad"
Code:
(II) config/hal: Adding input device Wacom Bamboo pad
(**) Wacom Bamboo pad: always reports core events
(**) Wacom Bamboo pad device is /dev/input/event9
(**) Wacom Bamboo pad is in relative mode
(**) WACOM: suppress value is 2
(**) Wacom Bamboo pad: reading USB link
(**) Wacom Bamboo pad: threshold = 30
(**) Wacom Bamboo pad: max x = 14760
(**) Wacom Bamboo pad: max y = 9225
(**) Wacom Bamboo pad: max z = 511
(**) Wacom Bamboo pad: button2 assigned to 1
(**) Wacom Bamboo pad: button4 assigned to 2
(**) Wacom Bamboo pad: serial speed 9600
(II) XINPUT: Adding extended input device "Wacom Bamboo pad" (type: Wacom Pad)
(==) Wacom device "Wacom Bamboo pad" top X=0 top Y=0 bottom X=14760 bottom Y=9225 resol X=2540 resol Y=2540
X neither understands the advanced button mappings for button 1 and 3 nor a fifth button for scrolling.
xev does not show any events for padbutton 1 and 3 and also no button 5 for scrolling.
is there anything I have to do to enable those advanced button mappings?
any ideas regarding the scroll event?
thanks
ubootfanat
Bookmarks