Hi Simon, Raphael... Simon Budig wrote: > > I wrote a small program to monitor the extended XInput-Events, it is > attached. I've not had much time to investigate further on , but these are some trial runs I get Built and run on ALICE, an SGI Indigo R4000, using MIPS 6.2 compiler ALICE 35% xinputev --display harriet:0 (An SGI O2 Xsgi X-window server Wacom 4.4.0 device driver) Enabling No. 2: "wacom" (Type: 1) Enabling No. 3: "mouse" (Type: 1) Enabling No. 65244: "Core Pointer" (Type: 0) button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 3 button_press : device 3 pressure 0.500 button 3 button_release: device 3 pressure 0.500 button -1 button_press : device 3 pressure 0.500 button 1 button_release: device 3 pressure 0.500 button -1 button_press : device 3 pressure 0.500 button 1 button_release: device 3 pressure 0.500 button -1 button_press : device 3 pressure 0.500 button 1 button_release: device 3 pressure 0.500 button -1 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 button_press : device 3 pressure 0.500 button 2 button_release: device 3 pressure 0.500 button -2 In this configuration, button 3 release is consumed before it reaches your code when using the mouse. Now the Wacom Intuos tablet. The button on the barrel is a vertically-oriented rocker switch: the downward side is button 3, the upward side is button 2. button_press : device 2 pressure 0.001 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.091 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.008 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.340 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.001 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.001 button 1 button_press : device 2 pressure 0.094 button 3 button_press : device 2 pressure 0.000 button 3 button_press : device 2 pressure 0.000 button 3 button_press : device 2 pressure 0.000 button 3 button_press : device 2 pressure 0.000 button 3 button_press : device 2 pressure 0.000 button 2 button_release: device 2 pressure 0.000 button -2 button_press : device 2 pressure 0.000 button 2 button_release: device 2 pressure 0.000 button -2 button_press : device 2 pressure 0.000 button 2 button_release: device 2 pressure 0.000 button -2 button_press : device 2 pressure 0.000 button 2 button_release: device 2 pressure 0.000 button -2 button_press : device 2 pressure 0.269 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.442 button 1 button_release: device 2 pressure 0.000 button -1 button_press : device 2 pressure 0.595 button 1 button_release: device 2 pressure 0.000 button -1 Button 3 is still consumed. Now, pressing down on the pen and manipulating the rocker switch button_press : device 2 pressure 0.024 button 1 button_press : device 2 pressure 0.949 button 3 button_press : device 2 pressure 0.941 button 3 button_press : device 2 pressure 1.000 button 3 button_press : device 2 pressure 1.000 button 3 button_press : device 2 pressure 1.000 button 3 button_press : device 2 pressure 1.000 button 3 button_press : device 2 pressure 0.791 button 3 button_press : device 2 pressure 1.000 button 2 button_release: device 2 pressure 1.000 button -2 button_press : device 2 pressure 1.000 button 2 button_release: device 2 pressure 1.000 button -2 button_press : device 2 pressure 1.000 button 2 button_release: device 2 pressure 1.000 button -2 button_release: device 2 pressure 0.000 button -1 When I activate motion detection, the button behaviour is unchanged, (button three release is consumed) and with the pen tip I get a large number of motion events: ... motion_notify : device 2 pressure 1.000 <-- varies from 0.000 -> 1.000 ... The eraser is not detected at all, even using the configuration tool furnished by Wacom, so I cannot shed any light on your observations on proximity motion. Thank you for your help and the demo program. I expect to be able to spend some more time on this next weekend, and it will be a useful investigation tool. Be good, be well Garry