Sandbox
Sandbox copied to clipboard
Keybind Registry/API
It's effectively a necessity.
At a base level, it could:
-
Be able to modify or add a new category in
Controls
, in which you can:- Add or remove a Keybind, which has a name and a key assigned to it. Perhaps expanding it to allow key combinations could be interesting;
-
Be able to query if the specific Keybind is currently pressed. Again, perhaps expanding it to allow detection of whether one is being held consistently would be interesting.