Hey, long time lurker, just registered. Sorry if this isn't the proper area, but I think it might be
I am currently working on a 2-key keyboard, where I am assembling everything from scratch and using a regular ATtiny85 (with arduino bootloader) controller. Right now I am doing things with a
DigiSpark.
I have encountered a problem that I can't fix as of now. This controller uses V-USB implementation and a few things aren't working the way I want them to. Since I don't know a lot about V-USB, I am struggling to rewrite the libraries that are responsible for this.
Mainly my problem is that the current implementation can only send keystrokes instead of read events (key_down, key_up, is_down, etc).
For example, if you hold a switch down, you get roughly 450 actual strokes per minute instead of a "hold effect"/single input.
I have been trying to get the code fixed but I don't have much spare time as of now, so I thought about asking people who know better
Is it worth reimplementing the USB firmware/module to do what I need, or are there other controllers that have hardware implementation for USB control at the same price range ($1.50)?
I thought that it would be the perfect solution for my problem as I am controlling lighting, inputs and everything with the exact number of available ports (5). Although this issue seems to be blocking the most important part of this.
Cheers!