It used to be that you could have more than one "InputDevice" section for each device recognized by the driver
- Code: Select all
Section "InputDevice"
Identifier "pen"
Driver "aiptek"
Option "Device" "/dev/tablet"
Option "Type" "stylus"
Option "Mode" "absolute"
Option "Cursor" "stylus"
Option "USB" "on"
Option "KeepShape" "on"
Option "debuglevel" "20"
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "aiptek"
Option "Device" "/dev/tablet"
Option "Type" "cursor"
Option "Mode" "absolute"
Option "Cursor" "puck"
Option "USB" "on"
Option "KeepShape" "on"
Option "debuglevel" "20"
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "aiptek"
Option "Device" "/dev/tablet"
Option "Type" "eraser"
Option "Mode" "absolute"
Option "Cursor" "stylus"
Option "USB" "on"
Option "KeepShape" "on"
Option "debuglevel" "20"
EndSection
Since that time, configuration moved from
- Code: Select all
/etc/X11/Xorg.conf
- Code: Select all
/usr/share/X11/xorg.conf.d/*.conf
Is there any way to have the driver recognize different input types based on the device used? I've got a pen and a puck(mouse). I was hoping the driver would differentiate between the two of them and I could get them treated differently.