110. Joystick

Joystick data

110.1. Summary of Module Globals

List of Global Functions

  • Changed - Return configuration status

  • Export - Dump the joystick settings to a single map (For use by autoinstallation.)

  • Import - Get all joystick settings from the first parameter (For use by autoinstallation.)

  • Read - Read all joystick settings from the SCR

  • RequiredKernelModules - Get list of all required joystick kernel modules

  • SaveOneJoystick - Update the SCR of the one joystick

  • StartAndEnable - Start joystick service and insserv it

  • Stop - Stop joystick service

  • Summary - Build a textual summary that can be used e.g. in inst_hw_config () or something similar.

  • Write - Update the SCR according to joystick settings

  • WriteConfig - Write sysconfig values (flush)

List of Global Variables

  • joystick - joystick config datastructure (list of maps)

110.2. Global Functions

110.2.1. Changed

Return configuration status

Return value

  • boolean - true if configuration was changed

110.2.2. Export

Dump the joystick settings to a single map (For use by autoinstallation.)

Return value

  • list - Dumped settings (later acceptable by Import ())

110.2.3. Import

Get all joystick settings from the first parameter (For use by autoinstallation.)

Function parameters

  • list settings

Return value

  • boolean - True on success

110.2.4. Read

Read all joystick settings from the SCR

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

110.2.5. RequiredKernelModules

Get list of all required joystick kernel modules

Return value

  • list<string> - list of modules

110.2.6. SaveOneJoystick

Update the SCR of the one joystick

Function parameters

  • integer pos

Return value

  • boolean

110.2.7. StartAndEnable

Start joystick service and insserv it

Return value

  • boolean

110.2.8. Stop

Stop joystick service

Return value

  • boolean

110.2.9. Summary

Build a textual summary that can be used e.g. in inst_hw_config () or something similar.

Return value

  • string - Summary of the configuration.

110.2.10. Write

Update the SCR according to joystick settings

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

110.2.11. WriteConfig

Write sysconfig values (flush)

Return value

  • boolean

110.3. Global Variables

110.3.1. joystick

joystick config datastructure (list of maps)

110.4. Module Requirements

110.4.1. Module Imports

  • Mode
  • Service

110.4.2. Module Includes