rOzzy1987 / MacroPad

Replacement configuration software for chinese macropad keyboards
GNU General Public License v3.0
118 stars 7 forks source link

I have a 12 x 2 rotary pad and it works fine with both of the 3 knob layouts, but the keys only input 5 characters even if I set more #1

Open downrightmike opened 10 months ago

downrightmike commented 10 months ago

The field says 18 max. It is five char regardless. So a string of 10 chars (1234567890) gets truncated to 12345

If you want the second set of five chars to be on a key, you need to make another key have the 67890 only. If you want the 18 char max, you need to use 4 keys and break up the string in pieces. Which works, but now my 12 keys can only do three strings. Example device: https://www.ebay.com/itm/314702902685

rOzzy1987 commented 10 months ago

Thanks for bringing up this issue!

Unfortunately I only own a 3key device with a single knob, so I assumed that the higher button count devices will support the extended protocol. Maybe this is not the case... please check the message after starting the app in the lower left corner next to the "Connected" label. If it says Legacy, that is your problem.

However, You can try to force the extended protocol which indeed supports the 18 keys by changing the config.txt from 4489:34960,mi_01,0 to 4489:34960,mi_01,1 If it works, Hooray! if not, you've also been lied to by the seller and this is all your keypad is capable of. Sadly this is a very real possibility.

Either way, I'll extend the config.txt to include the max character count, as it is currently defined in the layout.txt which seems to be the wrong place to do so.

downrightmike commented 10 months ago

It was set to legacy. Changing to extended did not change functionality. Still only five characters. I appreciate your help.