Brikwerk / nxbt

Control your Nintendo Switch through a website, terminal, or macro.
MIT License
817 stars 100 forks source link

How to change keyboard mapping? #137

Closed Ian9211 closed 1 year ago

Ian9211 commented 1 year ago

I am using Webapp to use the PC keyboard to control my NS but I am not used to the default key mapping. Is there a way to customize the key map?

Ian9211 commented 1 year ago

I have solved problem by editing main.js.

Scro-mx commented 6 months ago

Hello, I tried to change the keyboard keys in the 2 main.js files

nxbt/nxbt/web/static/js/main.js And nxbt/build/lib/nxbt/web/static/js/main.js

however when I restart the Webapp, this was not taken into account (Like the Change in nxbt/nxbt/web/templates/index.html)

How can I do ?