Teensy as a touchscreen?

egradman

Member
Hi, I just noticed that one of the USB types available in Teensyduino is "Keyboard + Mouse + Touchscreen." Anyone know where I can find documentation on how to generate touchscreen events to send to the computer? I'm familiar with the joystick and keyboard APIs, and I'm expecting something similar...

I make a lot of "joysticks" using unusual hardware for games written in Unity3d that consume joystick events. But I often run out of axes! I'm hoping the touchscreen API will let me cram a bunch more "axes" into HID using an API that Unity3d can read natively.
 
In the touchscreen examples, www.repaa.net/draw.html is mentioned to show the results. That website can't be reached though.
This one is: [url]https://tecagile.com/online-touch-screen-test/[/URL].
Here is the result from the TenFingerCircle example running on a Teensy LC:

Untitled.png

Paul
 
Back
Top