113. Joystick

Joystick data

113.1. Authors

  • Ladislav Slezak <lslezak@suse.cz>

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

113.3. Global Functions

113.3.1. Changed

Return configuration status

Return value

  • boolean - true if configuration was changed

113.3.2. Export

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

Return value

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

113.3.3. Import

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

Function parameters

  • list settings

Return value

  • boolean - True on success

113.3.4. Read

Read all joystick settings from the SCR

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

113.3.5. RequiredKernelModules

Get list of all required joystick kernel modules

Return value

  • list<string> - list of modules

113.3.6. SaveOneJoystick

Update the SCR of the one joystick

Function parameters

  • integer pos

Return value

  • boolean

113.3.7. StartAndEnable

Start joystick service and insserv it

Return value

  • boolean

113.3.8. Stop

Stop joystick service

Return value

  • boolean

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

113.3.10. Write

Update the SCR according to joystick settings

Function parameters

  • block<boolean> abort

Return value

  • boolean - True on success

113.3.11. WriteConfig

Write sysconfig values (flush)

Return value

  • boolean

113.4. Global Variables

113.4.1. joystick

joystick config datastructure (list of maps)

113.5. Module Requirements

113.5.1. Module Imports

  • Mode
  • Service

113.5.2. Module Includes