Package dev.boze.api.input
Class InputNameProvider
java.lang.Object
dev.boze.api.input.InputNameProvider
Input Name Provider, used to get the name of a key or button
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBindName
(Bind bind) Get the name of a bindstatic String
getButtonName
(int button) Get the name of a (mouse) buttonstatic String
getKeyName
(int key) Get the name of a (keyboard) key
-
Constructor Details
-
InputNameProvider
public InputNameProvider()
-
-
Method Details
-
getBindName
Get the name of a bind- Parameters:
bind
-- Returns:
- the name of the bind
-
getKeyName
Get the name of a (keyboard) key- Parameters:
key
-- Returns:
- the name of the key
-
getButtonName
Get the name of a (mouse) button- Parameters:
button
-- Returns:
- the name of the button
-