kamaaina / macropad_tool

tool to program a macropad
37 stars 5 forks source link

Leds not working when connected via Bluetooth #26

Open Ctrl-F4 opened 1 month ago

Ctrl-F4 commented 1 month ago

Programmed the leds of my 12 buttons and 2 knobs keyboard and the keys blink when buttons are pressed. Very nice! Leds are only blinking when the keyboard is powered via USB. (Connected via bluetooth only the leds stay off) Is it possible to implement leds functioning when configured index 2/3/4 and connected via bluetooth? Except when configured as backlight always on to prevent drain (index 1/5) Or is this only possible by some hardware modification?

kamaaina commented 1 month ago

glad you were able to have some success with this. several questions for you.

  1. what device do you have? (vid/pid)
  2. what index are you referring to? are you talking about the argument you pass to the led command? cargo run -- led --help

unfortunately, i do not own a macropad that has bluetooth so i can't comment much there. does this work with the manufacturers software? if so, it can probably be implemented.

Ctrl-F4 commented 1 month ago

Device: USB\VID_1189&PID_8842\ Yes referring to the index argument passing to the led command. Don't know about the manufacturers software yet (don't like virus or malware) i'm glad i found your software instead.

I found this post later , someone with same "issue", he "solved" it by using a powerbank as a workaround. So next step is to find out where to download the manufacturers software... When i found out i'll report back later (but maybe someone already knows, feel free to tell in the meantime)

kamaaina commented 1 month ago

https://github.com/kamaaina/macropad_tool/issues/27 might be related, but as i commented there, i do not have a bluetooth macropad to test/implement changes on.

are you able to provide a usb capture from the manufacturer software? if so, i should be able to fix this issue

spikerguy commented 1 month ago

I found this post later , someone with same "issue", he "solved" it by using a powerbank as a workaround.

All Macropad with LED can only power on the LED when power is supplied as the tiny battery inside the controller can only power the chip.

We should close this issue as LED only work when power is connected. I do exactly the same thing. I connect powerbank when I want to have led on, but the downside is the LED are always on and there is no timer for the LED to turn off.