overlord computer |
$
sudo add-apt repository ppa:doctormo/xorg wizardpen && sudo apt-get update && sudo apt-get install xserver-xorg-input-wizardpen
$ sudo cp /usr/lib/X11/xorg.conf.d/70-wizardpen.conf /usr/share/X11/xorg.conf.d
Restart
$ sudo gedit /usr/lib/X11/xorg.conf.d/70-wizardpen.conf
Section "InputClass"
Identifier "wizardpen"
MatchIsTablet "on"
# Here I hardcoded the event4, please check wich event is yours.
MatchDevicePath "/dev/input/event4"
#[CALIBRATION] This data was taken from wizard-calibrate tool.
Option "TopX" "624"
Option "TopY" "1725"
Option "BottomX" "32702"
Option "BottomY" "31992"
#[END CALIBRATION]
Driver "wizardpen"
EndSection
Save & Exit
----------------------------------------------------------------------------------
How to know the event of your MousePen
$ cat /proc/bus/input/devices
I: Bus=0003 Vendor=5543 Product=0005 Version=0100
N: Name="UC-LOGIC Tablet WP8060U"
P: Phys=usb-0000:00:1a.2-2.2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2.2/5-2.2:1.0/input/input4
U: Uniq=
H: Handlers=mouse1 event4
B: EV=1f
B: KEY=c01 0 3f0001 0 0 0 0 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10