crash5band / MikuMikuWorld

Project Sekai score viewer and editor
MIT License
79 stars 62 forks source link

Add: Allow Numpad for number key shortcuts #24

Closed sevenc-nanashi closed 1 year ago

sevenc-nanashi commented 1 year ago

I modified CommandManager to allow Numpad for number key shortcuts.

crash5band commented 1 year ago

It should already be supported as I check for every possible key supported by GLFW. Are you sure your shortcuts are set up correctly?

sevenc-nanashi commented 1 year ago

Sorry for my bad English. Shortcuts registered with 1 key now respond with 1 on the numeric keypad.

crash5band commented 1 year ago

Closing this as the current system is more flexible and already allows multiple bindings to the same command. If you need a command to respond to multiple key bindings, it is better to add it manually than having it hardcoded.