|
GearBlocks
The GearBlocks Lua scripting API
|
Provides access to input action key bindings. More...
Public Member Functions | |
| string | GetBinding (int actionID, bool getSecondary, bool shortNames) |
| Get the key bound to an input action. | |
Provides access to input action key bindings.
| string SmashHammer.Input.IKeyBindings.GetBinding | ( | int | actionID, |
| bool | getSecondary, | ||
| bool | shortNames | ||
| ) |
Get the key bound to an input action.
| actionID | The ID of the input action to check. |
| getSecondary | Set to true to get the secondary key; otherwise, false to get the primary key. |
| shortNames | Set to true to get the short name; otherwise, false to get the full name. |