Tesla-Menu icon indicating copy to clipboard operation
Tesla-Menu copied to clipboard

Add Options menu and Combo Configuration Menu

Open diwo opened this issue 5 years ago • 2 comments

This is a preview of the combo config UI. It cannot compile against libtesla@master since the lib is currently missing APIs to allow Gui to capture keysHeld and to update combo keys. This PR also does not include changes to existing UI elements to access this new UI.

The combo config UI asks the user to hold down the new key combo for 2.5 seconds. The user then has to release all the keys, and then input the new combo again to confirm the change. The user can leave the UI without changing the combo by pressing KEY_PLUS twice.

Screenshots: https://imgur.com/yZ12kx6 https://imgur.com/X22zqBL https://imgur.com/BNd9JuL

diwo avatar Feb 18 '20 00:02 diwo

@WerWolv this one is ready now, depends on https://github.com/WerWolv/libtesla/pull/23

diwo avatar Mar 06 '20 10:03 diwo

Note that there's no safeguard against assigning stupid key combos like A button by itself. In case someone does go through with it, they may have to take their SD card out of their switch and delete the tesla config file on a computer.

diwo avatar Mar 06 '20 10:03 diwo