Draw keyboards in settings so you can tell what is mapped and what is free. Superpowers Clicking on an unbound key opens a dialog with an autocomplete field to choose a function. Clicking on a bound key will jump you to that setting. On hover, a 'X' remove-binding button appears. You can drag the functions from one bound key to another key. If the target has a binding, they are swapped. However, keymap updates have a noticeable latency because it has to rebuild the keyboards every time. - https://github.com/JustinLove/keyboard_viewer - http://wondible.com/pa/keyboard_viewer_v1.3.2.zip Default keys (79380) Normal Build Ctrl Alt Shift Alt+ctrl Ctrl+shift Freecam Terrain Changes ## 1.3.2 - Fix help sidebar layout - Restore vertical scrolling of keyboards ## 1.3.1 - Remove leftover debugging ## 1.3.0 - Add ghost keys for special camera pan keys - Update modinfo tags
Keyboard Viewer 1.1.0 - Now with superpowers - On hover, a 'X' remove-binding button appears. - You can drag the functions from one bound key to another key. If the target has a binding, they are swapped.
Keyboard Viewer 1.2.0 - Clicking on an unbound key opens a dialog with an autocomplete field to choose a function. - Description of possible actions on the screen. I really did set out to make just a viewer... ;^)
I don't think detecting the keyboard layout is possible. If there is sufficient interest I could redo the data format to use a subset of the data format at http://www.keyboard-layout-editor.com/ and take submissions for user selection.
What do you want to do with it? I might already be doing something like that, although I don't have immediate plans for a GUI. https://forums.uberent.com/threads/wip-live-game-input-refactor.68745/
ability to remap middle click to right click, also does PA use extra mouse buttons? i haven't tried it yet
Vanilla, no. My trackball buttons are typically bound to special functions, so I haven't tested whether button#4 gets passed through.
Keyboard Viewer 1.2.1 - Embed my own jQueryUI autocomplete since Uber isn't loading it anymore - Update LOC strings for special cases sections
Keyboard Viewer 1.3.0 - Add ghost keys for special camera pan keys - Update modinfo tags ## 1.3.1 - Remove leftover debugging
This is a needed enhancement and you have gone way beyond a keyboard viewer. It doesn't quite work for me as I'm having trouble reading the bindings. Would it be possible to change "on hover" to pop-out an enlarged key view? I don't know how much work this would be. My thinking is that you would want to know why a certain key isn't working and need to check the key binding. I looked at key binding. The default PA key binding is good, but it is organized by command type. Hotbuild2 has a great UI, but the emphasis (naturally) is on build. Your Keybind Extensions mod is a valuable for adding "missing" commands and is organized like the native PA key binding. It is only your Keyboard Viewer that gives a complete view of the gamer's key binding.
It's a tricky balance between fitting it on uncertain screen sizes and readability. And then they added UI scaling to the mix. Maybe. It might interfere with hover targets (and with an X button the popup you can't just make it ignore the pointer)