jfedor2 / hid-remapper

USB input remapping dongle
Other
1.12k stars 135 forks source link

Error when using r2024-05-29 or r2024-05-23 #138

Closed HandisableL closed 5 months ago

HandisableL commented 5 months ago

When using this two version firmware,Web Configuration Tool show "TypeError: expr.matchAll.map is not a function or its return value is not iterable" 2024-06-01 000904

I can load settings from device,but can't save to device(click "save to device",my usb keyborad dongle just stop working,and nothing show in Configuration Tool-Monitor),unplug and plug remapper back,things work,but reverse to settings before save. And sometime LED on the board just dont light.until press reset on board. flash back r2024-04-19 can fix this problem.

HandisableL commented 5 months ago

additional info device:waveshare rp2040 micro/raspberry pico w firmware:remapper.uf2 pin d+ = GPIO0 d- = GPIO1

jfedor2 commented 5 months ago

What configuration do you have on the HID Remapper that you observer this issue with? Can you post a screenshot of the Expressions tab or an exported JSON file?

HandisableL commented 5 months ago

What configuration do you have on the HID Remapper that you observer this issue with? Can you post a screenshot of the Expressions tab or an exported JSON file?

None of Expressions has been used,In this case i just use it to convert a HP MultiMedia Keyboard(Which need Hold FN Key to USE F1~F12) Here is the Export,Just Upgrade the firmware,load from device and click save,export to json. hid-remapper-config for HP Keyboard(V12-202404).json hid-remapper-config Upgrade to V13_Export.json

Screenshot

HandisableL commented 5 months ago

I bought a new Fresh Pico and flash v13 firmware,click load and it report the same error,so i guess maybe something wrong with empty value in expression area or My browser can't handle it right? Browser:Microsoft Edge 121.0.2277.128

jfedor2 commented 5 months ago

I will look into it, but can you try it in Chrome?

HandisableL commented 5 months ago

Ok,I try to use V13+Brave browser,and error message disappear.