← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 557748] Re: Wacom Touch Inverted After Rotation

 

The same on HP Pavilion tx 2000, but only for TOUCH, not for STYLUS or mouse pointer
~$cat bin/screenrotate 
#!/bin/bash

CR=`xrandr -q --verbose | sed -n '2 {p;q}' | cut -d' ' -f5`

if [ x$CR = xnormal ] ; then 
	xrandr -o left
	for dev in 13 14 ; do 
		xinput set-int-prop $dev 'Wacom Rotation' 8 2
	done
else
	xrandr -o normal
	for dev in 13 14 ; do 
		xinput set-int-prop $dev 'Wacom Rotation' 8 0
	done
fi

~$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse         	id=10	[slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 93 eraser                   	id=12	[slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 93                          	id=13	[slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 93                          	id=14	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=16	[slave  pointer  (2)]
⎜   ↳ Macintosh mouse button emulation        	id=17	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ CNF7060                                 	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=15	[slave  keyboard (3)]

~$ xinput list-props 13
Device 'Wacom ISDv4 93':
	Device Enabled (147):	1
	Device Accel Profile (267):	0
	Device Accel Constant Deceleration (268):	1.000000
	Device Accel Adaptive Deceleration (270):	1.000000
	Device Accel Velocity Scaling (271):	10.000000
	Wacom Tablet Area (292):	0, 0, 26312, 16520
	Wacom Rotation (293):	0
	Wacom Pressurecurve (294):	0, 0, 100, 100
	Wacom Serial IDs (295):	147, 0, 2, 0
	Wacom TwinView Resolution (296):	0, 0, 0, 0
	Wacom Display Options (297):	-1, 0, 1
	Wacom Screen Area (298):	0, 0, 1280, 800
	Wacom Proximity Threshold (299):	42
	Wacom Capacity (300):	-1
	Wacom Pressure Threshold (301):	15
	Wacom Sample and Suppress (302):	2, 4
	Wacom Enable Touch (303):	0
	Wacom Hover Click (304):	1
	Wacom Tool Type (305):	"STYLUS" (307)
	Wacom Button Actions (306):	"None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0)

~$ xinput list-props 13
Device 'Wacom ISDv4 93':
	Device Enabled (147):	1
	Device Accel Profile (267):	0
	Device Accel Constant Deceleration (268):	1.000000
	Device Accel Adaptive Deceleration (270):	1.000000
	Device Accel Velocity Scaling (271):	10.000000
	Wacom Tablet Area (292):	0, 0, 26312, 16520
	Wacom Rotation (293):	0
	Wacom Pressurecurve (294):	0, 0, 100, 100
	Wacom Serial IDs (295):	147, 0, 2, 0
	Wacom TwinView Resolution (296):	0, 0, 0, 0
	Wacom Display Options (297):	-1, 0, 1
	Wacom Screen Area (298):	0, 0, 1280, 800
	Wacom Proximity Threshold (299):	42
	Wacom Capacity (300):	-1
	Wacom Pressure Threshold (301):	15
	Wacom Sample and Suppress (302):	2, 4
	Wacom Enable Touch (303):	0
	Wacom Hover Click (304):	1
	Wacom Tool Type (305):	"STYLUS" (307)
	Wacom Button Actions (306):	"None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0), "None" (0)

-- 
Wacom Touch Inverted After Rotation
https://bugs.launchpad.net/bugs/557748
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xf86-input-wacom in ubuntu.