diff options
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/main.h | 2 | ||||
| -rw-r--r-- | src/input_common/sdl/sdl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index 140bbd014..e7fb3890e 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -11,7 +11,7 @@ namespace InputCommon { | |||
| 11 | /// Initializes and registers all built-in input device factories. | 11 | /// Initializes and registers all built-in input device factories. |
| 12 | void Init(); | 12 | void Init(); |
| 13 | 13 | ||
| 14 | /// Unresisters all build-in input device factories and shut them down. | 14 | /// Deregisters all built-in input device factories and shuts them down. |
| 15 | void Shutdown(); | 15 | void Shutdown(); |
| 16 | 16 | ||
| 17 | class Keyboard; | 17 | class Keyboard; |
diff --git a/src/input_common/sdl/sdl.cpp b/src/input_common/sdl/sdl.cpp index 756ee58b7..d404afa89 100644 --- a/src/input_common/sdl/sdl.cpp +++ b/src/input_common/sdl/sdl.cpp | |||
| @@ -159,7 +159,7 @@ public: | |||
| 159 | * - "axis"(optional): the index of the axis to bind | 159 | * - "axis"(optional): the index of the axis to bind |
| 160 | * - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", | 160 | * - "direction"(only used for hat): the direction name of the hat to bind. Can be "up", |
| 161 | * "down", "left" or "right" | 161 | * "down", "left" or "right" |
| 162 | * - "threshould"(only used for axis): a float value in (-1.0, 1.0) which the button is | 162 | * - "threshold"(only used for axis): a float value in (-1.0, 1.0) which the button is |
| 163 | * triggered if the axis value crosses | 163 | * triggered if the axis value crosses |
| 164 | * - "direction"(only used for axis): "+" means the button is triggered when the axis value | 164 | * - "direction"(only used for axis): "+" means the button is triggered when the axis value |
| 165 | * is greater than the threshold; "-" means the button is triggered when the axis value | 165 | * is greater than the threshold; "-" means the button is triggered when the axis value |