public final class InputControllerConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATT_CLASS
Input width attribute.
|
static String |
ATT_INDEX
Code index attribute.
|
static String |
ATT_VALUE
Code value attribute.
|
static String |
NODE_CODE
Code node name.
|
static String |
NODE_INPUT
Input node name.
|
| Constructor and Description |
|---|
InputControllerConfig(Class<? extends InputDeviceControl> control,
Map<Integer,Integer> codes)
Create a size configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,Integer> |
getCodes()
Get the codes value.
|
Class<? extends InputDeviceControl> |
getControl()
Get the control value.
|
static InputControllerConfig |
imports(Configurer configurer)
Import the data from configurer.
|
static InputControllerConfig |
imports(Xml root)
Import the data from configurer.
|
public static final String NODE_INPUT
public static final String ATT_CLASS
public static final String NODE_CODE
public static final String ATT_INDEX
public static final String ATT_VALUE
public InputControllerConfig(Class<? extends InputDeviceControl> control, Map<Integer,Integer> codes)
control - The control value.codes - The codes value.public static InputControllerConfig imports(Configurer configurer)
configurer - The configurer reference (must not be null).LionEngineException - If unable to read node.public static InputControllerConfig imports(Xml root)
root - The root reference (must not be null).LionEngineException - If unable to read node.public Class<? extends InputDeviceControl> getControl()
Copyright © 2020 Byron 3D Games Studio. All rights reserved.