Method | Description | |
---|---|---|
ClearBindings ( ) : void |
Clears all current control bindings.
|
|
EndCommand ( |
Ends a command that was previously started. This will stop the command from being repeat-triggered.
|
|
GetMousePosition ( ) : Point |
Retrieves the current screen-space mouse position.
|
|
HasWindowEvent ( String eventname ) : bool |
Tests if the input system has a command for a particular event.
|
|
LoadConfiguration ( Stream file ) : void |
Load control bindings from an arbitrary stream. If there are already bindings, the new ones will be added. New bindings overwrite old bindings.
|
|
LoadConfiguration ( String filename ) : void |
Loads control bindings from a specified path.
|
|
SaveConfiguration ( Stream file ) : void |
Saves the current control bindings to an arbitrary stream.
|
|
SaveConfiguration ( String filename ) : void |
Saves the current control bindings to a path on the filesystem.
|
|
StartCommand ( |
Starts a game command. This command will be duplicated as a trigger, and will be re-triggered as a key-repeat until it is ended by a call to EndCommand().
|
|
TriggerCommand ( |
Performs a one-shot trigger of a given command.
|
|
WindowCommand ( String eventname ) : void |
Triggers a window event.
|
Method | Description | |
---|---|---|
InputSystem ( ) : System |
public EndCommand ( |
||
command | The name of the command to stop | |
return | void |
public HasWindowEvent ( String eventname ) : bool | ||
eventname | String | The event to test. |
return | bool |
public LoadConfiguration ( Stream file ) : void | ||
file | Stream | The source of the INI data |
return | void |
public LoadConfiguration ( String filename ) : void | ||
filename | String | The path to load from. Note: This does NOT automatically use Game.PathTo() |
return | void |
public SaveConfiguration ( Stream file ) : void | ||
file | Stream | The writable stream to save to. |
return | void |
public SaveConfiguration ( String filename ) : void | ||
filename | String | The location of the file to write to. NOTE: This does NOT automatically use Game.PathTo() |
return | void |
public StartCommand ( |
||
command | The command to start. | |
return | void |
public TriggerCommand ( |
||
command | The command to trigger. | |
return | void |
public WindowCommand ( String eventname ) : void | ||
eventname | String | The name of the window event to trigger. |
return | void |