juancgarcia / HID-Relay

Arduino project to convert wired USB HID device to Bluetooth (pipes USB HID reports out through a Bluetooth HID module)
424 stars 76 forks source link

Delays and multiple keystrokes #8

Closed LKbrilliant closed 1 year ago

LKbrilliant commented 6 years ago

Hi,

I finished building my keyboard by following your tutorial. I used a custom build GH60 mechanical keyboard for the project. GH60 has several layers and can act as a mouse too, so I don't know whether it's recognized as a combo device?

The relay works fine on Android and iOS (I haven't tested it on a macOS). The problem occurs when using the keyboard with windows. The pairing process does not have any problems and connects as it's supposed to. But when start typing the is a noticeable lag and register several key inputs for a single stroke. Like for "asdfg" it types "asddddddddffffffffffffffffgggggggggggg" with a huge lag.

As you know I have added some modification to the build. -> Soft latch switch for turning ON/OFF -> Auto shutdown timmer -> RGB LED as an indicator

I was unable to find any bugs which could cause that. Any ideas?

Modified code Soft latch power switch Schematic.pdf