Suggestion for Wacom tablets

Discuss all artwork and development - Suggestions needed

Moderator: Moderators

Suggestion for Wacom tablets

Postby eduardhc » Sun Nov 26, 2006 11:17

Hi,
Could you please include the following udev 'rules' file for Wacom tablets in Sabayon as Ubuntu does by default?

/etc/udev/rules.d/10-wacom.rules:
Code: Select all
KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom%e"


This automatically creates the '/dev/input/wacom' link to the correct '/dev/input/eventX', which makes xorg.conf configuration easier for Wacom tablets.

Another interesting thing would be to initialize Wacom section to a default values more 'standard', like i.e.:

Code: Select all
Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
  Option   "Mode"      "Absolute"
  Option   "PressCurve"   "0,5,95,100"
  Option   "Button2"   "3"
  Option   "Button3"   "2"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
  Option   "Mode"      "Absolute"
  Option   "PressCurve"   "0,5,95,100"
  Option   "Button2"   "3"
  Option   "Button3"   "2"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for Intuos3, Cintiq 21UX, or Graphire4 only
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
  Option   "ButtonsOnly" "on"
  Option   "Button9" "2"
  Option   "Button13" "3"
EndSection

Section "ServerLayout"
    ...

    InputDevice    "stylus"    "SendCoreEvents"
    InputDevice    "eraser"    "SendCoreEvents"
    InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD tablets only
    InputDevice    "pad"   "SendCoreEvents"

EndSection


This would automatically set up Pen and Eraser tools in absolute mode (which is their intended default mode) and activate the pad wheel to work as a standard mouse wheel.

Cheers,
Eduard
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)

Postby cvill64 » Mon Dec 11, 2006 22:34

looks good, i'll test it out with my usb wacom tablet, we have rudimentary support in there right now, but we'll see if we can get better
cvill64
Sagely Hen
 
Posts: 2185
Joined: Fri Dec 30, 2005 10:03
Location: Virginia, USA


Return to Artwork and Development Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests

cron