Search results

  1. E

    TouchscreenUSB not working on Windows 10/11 [Teensy 4.1]

    I don't think there is/should be a driver needed. In this thread from 2016 ( https://forum.pjrc.com/threads/32331-USB-HID-Touchscreen-support-needed ) I found two replies ( #13, #14 and #23 ) that confirm touch working without issues on Windows 10 (#14 explicitly confirms multi-touch as well)...
  2. E

    Teensy 4 and TouchScreenUSB

    I also have no luck with touch emulation on Teensy 4.1 on Windows 10 and 11. (Can any mod delete my thread about this as it is the same? : https://forum.pjrc.com/threads/71731-TouchscreenUSB-not-working-on-Windows-10-11-Teensy-4-1 ) Works just fine on Android. As mocher72 mentioned, the Teensy...
  3. E

    Mouse and TouchscreenUSB "cancel" each other? [Teensy 4.1]

    I'm working on a way to make a touchpad/keyboard combo device work on Android here: https://forum.pjrc.com/threads/70379-Using-Teensy-as-Keyboard-Trackpad-(multi-touch)-HID-combo-device There I stumbled upon an issue that when I use one-finger-movement to move the mouse and two-finger-movement...
  4. E

    TouchscreenUSB not working on Windows 10/11 [Teensy 4.1]

    I tried to use TouchscreenUSB with my own sketch and with the one from Paul in this thread: https://forum.pjrc.com/threads/49128-TouchscreenUSB-release(finger)-Touch-freezes-bug-with-Linux?p=166379&viewfull=1#post166379 On my Microsoft Surface Pro 6 (Windows 11) and my Lenovo Thinkpad T440s...
  5. E

    TouchscreenUSB.press X - Y Values

    Hey, probably it's either too late or you already found out, but for anyone else looking for this: Both x and y values for the touch screen events are between 0 and 32767, so you divide 32767 by your host width and 32767 by host height. 32767 / 1400 = 23,405 32767 / 1050 = 31,2067 So to press...
  6. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Let me attach my sketch. It's the modified mouse.ino The five functions on the bottom are not actually empty, I just wanted to show that they are in the sketch (and unmodified from the mouse.ino). Whenever my driver reports a 1/2/3 finger tap or move, I now put the led on the teensy on, and...
  7. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Yes it did, cheers mate! So to be honest, I had/have no idea how to make the parse function ( void USBHIDParser::parse(uint16_t type_and_report_id, const uint8_t *data, uint32_t len) ) work, so I completely commented it's content out. Instead I do my checking and driver calling directly in the...
  8. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Alright, I had a lot of stuff going on in my live lately, but I should have some free time for my project again now. I was in the process of writing a huge, huge reply with what I tried and my findings when I... well, kind of got it (but not completely). So let me summarize and ask some...
  9. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    I tried reading up a little on all of it, but as I've never done anything at driver and/or USB level it's quite difficult for me. I have the source code od the driver (Android... ported from Linux from what I know) for the Keyboard/Trackpad combination with the BCM5974 controller here...
  10. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Ah, you've sent your message while I was editing my previous one. So I went through the code and found the following: // Note: with some keyboards there is an issue that they don't output in boot protocol mode // and may not work. The above code can try to force the keyboard...
  11. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    (I tried to edit the previous post, but it seems after a while it's not possible?) I forgot the output from the mouse sketch. USB Host Testing 960 USB2 PLL running reset waited 4 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20005000 periodictable = 20005000 port change: 10001803...
  12. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    The mouse sketch also gives me input only of the "second" touchpad, nothing from the keyboard. In the HIDDeviceInfo I read something about drivers. Personally, at this point, I wouldn't care wether it works with a driver or not. I can probably spend a few days on trying to figure out the...
  13. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Cheers, now it spits out much more stuff indeed: USB HID Device Info Program This Sketch shows information about plugged in HID devices *** You can control the output by simple character input to Serial *** R - Turns on or off showing the raw data C - Toggles showing changed data only on or...
  14. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Alright, I got myself a Teensy 4.1 (only one available without a 6-8 months waiting time here at the moment). I ran the HIDDeviceInfo from the USBHost_t36 example. It spits out the following: USB HID Device Info Program This Sketch shows information about plugged in HID devices *** You can...
  15. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    So I know this is not on a Teensy (need to figure out where to get one first as they seem to be out of stock, at least the 3.X and 4.1), but maybe the device descriptors that I got (with "Free Device Monitoring Studio" for Windows) will help in some way already. The first Touchpad shows...
  16. E

    Using Teensy as Keyboard/Trackpad (multi touch) HID combo device

    Hi,so I've been working on this project of mine since over a year now. Short story short: I want to convert a 2011 MacBook Pro keyboard and trackpad to an external usb device for use on Android. I got it working and it works everywhere (Windows, MacOS, Linux, Android_x86) except on native...
Back
Top