Joustick configuration |
modules/Joystick.ycp |
Joystick data |
|
|
Imports
Global Variables
Global Functions
|
|
|
joystick config datastructure (list of maps)
global Read (block<boolean> abort) -> boolean
|
|
Read all joystick settings from the SCR
- Parameters:
abort |
A block that can be called by Read to find
out whether abort is requested. Returns true if abort
was pressed. |
- Return value:
global Changed () -> boolean
|
|
Return configuration status
- Return value:
|
true if configuration was changed |
global SaveOneJoystick (integer pos) -> boolean
|
|
Update the SCR of the one joystick
- Parameters:
global Stop () -> boolean
|
|
Stop joystick service
global WriteConfig () -> boolean
|
|
Write sysconfig values (flush)
global StartAndEnable () -> boolean
|
|
Start joystick service and insserv it
global Write (block<boolean> abort) -> boolean
|
|
Update the SCR according to joystick settings
- Parameters:
abort |
A block that can be called by Write to find
out whether abort is requested. Returns true if abort
was pressed. |
- Return value:
global Import (list settings) -> boolean
|
|
Get all joystick settings from the first parameter
(For use by autoinstallation.)
- Parameters:
settings |
The YCP structure to be imported. |
- Return value:
Dump the joystick settings to a single map
(For use by autoinstallation.)
- Return value:
|
Dumped settings (later acceptable by Import ()) |
global Summary () -> string
|
|
Build a textual summary that can be used e.g. in inst_hw_config () or
something similar.
- Return value:
|
Summary of the configuration. |
|