paulhewson
New member
Hello.
I use Teensy with Keyboard + Mouse + Touchscreen Emulator without any problem on Windows OS.
But on Linux based system (Ubuntu), I take out orginal touchscreen controller. And system gives error "No touch controller". But when I plug Teensy 3,2,, There is no error any more.
But the problem is; I say run this code on Teensy, nothing happens on target computer.
TouchscreenUSB.press(0, xvalue, yvalue);
delay(25);
TouchscreenUSB.release(0);
Since I want target computer to recognise teensy as original touch controller, I even changed VendorID Product ID and so on.
Here I add the result of "lsinput" of the original touch controller and Teensy's.. What am I supposed to do? Any help? Thank you.
ORIGINAL TOUCH CONTROLLER
/dev/input/event1
bustype : BUS_USB
vendor : 0xdfc
product : 0x1
version : 514
name : "GeneralTouch.com SAW Touch Scree"
phys : "usb-3f980000.usb-1.2/input0"
bits ev : EV_SYN EV_KEY EV_ABS
TEENSY's HARDWARE INFO
/dev/input/event1
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input0"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
/dev/input/event2
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input1"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC
/dev/input/event3
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input3"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC
/dev/input/event4
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input4"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_ABS EV_MSC
I use Teensy with Keyboard + Mouse + Touchscreen Emulator without any problem on Windows OS.
But on Linux based system (Ubuntu), I take out orginal touchscreen controller. And system gives error "No touch controller". But when I plug Teensy 3,2,, There is no error any more.
But the problem is; I say run this code on Teensy, nothing happens on target computer.
TouchscreenUSB.press(0, xvalue, yvalue);
delay(25);
TouchscreenUSB.release(0);
Since I want target computer to recognise teensy as original touch controller, I even changed VendorID Product ID and so on.
Here I add the result of "lsinput" of the original touch controller and Teensy's.. What am I supposed to do? Any help? Thank you.
ORIGINAL TOUCH CONTROLLER
/dev/input/event1
bustype : BUS_USB
vendor : 0xdfc
product : 0x1
version : 514
name : "GeneralTouch.com SAW Touch Scree"
phys : "usb-3f980000.usb-1.2/input0"
bits ev : EV_SYN EV_KEY EV_ABS
TEENSY's HARDWARE INFO
/dev/input/event1
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input0"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
/dev/input/event2
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input1"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC
/dev/input/event3
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input3"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC
/dev/input/event4
bustype : BUS_USB
vendor : 0x16c0
product : 0x4d4
version : 273
name : "Teensyduino Keyboard/Mouse/Touch"
phys : "usb-3f980000.usb-1.2/input4"
uniq : "8261750"
bits ev : EV_SYN EV_KEY EV_ABS EV_MSC