Пропустить навигацию
Bought a cheap little USB touchscreen and learned the only(?) option for drivers on Mac costs $150…
0:00 / 0:23

Bought a cheap little USB touchscreen and learned the only(?) option for drivers on Mac costs $150…

Guy Dupont

@gvy_dvpont5,2 тыс. подписчиков

Открыть в X
5 758 отметок «Нравится»СкачатьОригинальный пост

833 543 просмотра

Bought a cheap little USB touchscreen and learned the only(?) option for drivers on Mac costs $150 PER MACHINE. Made a little USB converter with a $1 microcontroller that remaps the touchscreen output to standard mouse/keyboard events understood by any computer. 🧵

10 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Guy Dupont

    @gvy_dvpont

    Immediately I noticed this thing reported itself as an HID device, so I plugged it into one of my pedals to see if I could get any raw HID output to log. It did! The format was pretty obvious - each report contains (up to) five fingers X/Y positions.

    211 отметок «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    I used TinyUSB to emulate mouse/keyboard, but instead of a standard mouse descriptor, I used one that reports absolute position. With touchscreen, you don't want relative movement - you want the cursor to go right where you touch. Got a descriptor from:

    217 отметок «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    Then I used one of the @adafruit RP2040 USB host boards and the Arduino version of TinyUSB to glue everything together. Any RP2040 board will do, but this one's got the spare USB port built right in.

    171 отметка «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    Cool things here: A) Nothing to install on your computer!! No janky ass daemons. B) you can write your own gesture detection and dispatch them as keyboard macros!

    204 отметки «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    also shout out to my buds @ScopeCreepPod @lakesaintdaniel and Raffi for being front and center on my Spotify without any planning lol

    106 отметок «Нравится»

  • Фото профиля 🌟𝘾𝙮𝙗𝙚𝙧 𝘾𝙞𝙩𝙮 𝘾𝙞𝙧𝙘𝙪𝙞𝙩𝙨🌟

    @MakeAugusta

    Your casual flexes are so tremendous.

    84 отметки «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    I'm just gluing stuff together!!

    72 отметки «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    To clarify: Apple is not charging $150. A third party company is selling a driver for that much. I think anyone could theoretically make one. Lame that they don't offer anything but this isn't a case of their usual nickel/diming

    28 отметок «Нравится»

  • Фото профиля Reelix

    @Reelix

    You may have missed the entire point of going Mac in the first place. It's a status symbol - Paying that $150 is a sense of pride for Mac users. If you want something affordable / hackable, you should probably choose literally anything else ;D

    18 отметок «Нравится»

  • Фото профиля Guy Dupont

    @gvy_dvpont

    This take is so played out. I've been failing driving Mac/win side by side for 20 years I don't need to hear what the "point" is 😝

    83 отметки «Нравится»