Package arc
Interface KeyBinds.KeyBind
- All Known Implementing Classes:
Binding
- Enclosing class:
- KeyBinds
public static interface KeyBinds.KeyBind
An interface to store type-safe keybind definitions.
This interface is supposed to be implemented by an enum.
-
Method Details
-
name
String name()The unique name of this KeyCode. Usually implemented automatically by the enum type. -
defaultValue
The default implementation returns can return the same default value for each device type. -
category
The 'new' category under which this keybind will be displayed in a keybind dialog. Implementation of this method is optional.
-