Zend certified PHP/Magento developer

Execute Macro via USB device

I want to execute a macro via hardware, and not software. Ideally being OS-independent.

Here are some ideas that I’ve had and how far I got on each of them:

  1. Pre-programmed Mouse. Since the macro will mainly move the mouse I looked for a mouse that I could pre-programmed the movements into, but everything I found required some software.
  2. USBThumb. I’m not completely sure what this is as whenever I look into it all I find are USB thumb drives. Though I found the term on instructables.com while looking at if I could repurpose the trickster device they talk about for my usecase, though all of the links they have that provide vital information to following the article does not show anything, instead I get a blank screen.
  3. Programmable USB Peripheral. I tried searching for a USB Peripheral that I could program myself, though I didn’t find anything.
  4. Creating a USB device. I have researched this topic before and I believe I understand the basics, though not enough to actually create a USB device… much less being able to program move movements into it.

With that being said: What would the best way to do this? Is there a way to do it other than creating a USB device from scratch? And If creating a USB device from scratch is the only way, could someone point me in the right direction?