93. Joystick

Joystick data

93.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)

93.2. Global Functions

93.2.1. Changed

Return configuration status

Return value

  • boolean - true if configuration was changed

93.2.2. Export

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

Return value

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

93.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

93.2.4. Read

Read all joystick settings from the SCR

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

93.2.5. RequiredKernelModules

Get list of all required joystick kernel modules

Return value

  • list<string> - list of modules

93.2.6. SaveOneJoystick

Update the SCR of the one joystick

Function parameters

  • integer pos

Return value

  • boolean

93.2.7. StartAndEnable

Start joystick service and insserv it

Return value

  • boolean

93.2.8. Stop

Stop joystick service

Return value

  • boolean

93.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.

93.2.10. Write

Update the SCR according to joystick settings

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

93.2.11. WriteConfig

Write sysconfig values (flush)

Return value

  • boolean

93.3. Global Variables

93.3.1. joystick

joystick config datastructure (list of maps)

93.4. Module Requirements

93.4.1. Module Imports

  • Mode
  • Service

93.4.2. Module Includes