YaST2 Developers Documentation: Joystick configuration

Joystick configuration

include/sound/joy_dialog.ycp
Joystick dialogs
  • Dan Meszaros
  • Ladislav Slezak
  • Jiri Suchomel

This module has an unstable interface.

Imports

  • Joystick
  • Label
  • Package
  • Popup
  • Sound
  • String
  • Wizard
  • WizardHW

Includes

  • sound/joysticks.ycp
  • sound/routines.ycp
  • sound/ui.ycp
  • sound/volume_routines.ycp

Local Functions

local update_sound_card_joy_config (integer card_id, boolean start) -> boolean

Update the sound card configuration of joystick

Parameters:
card_id
start should joystick be used?
Return value:
was sound config changed?
local joy_dialog (integer joy_id, symbol button, map sound_card) -> symbol

Joystick configuration dialog. Configuration of joystick attached to specified sound card.

Parameters:
joy_id Joystick index (in the sysconfig file)
button Label for `next button: `finish, `ok or `next
sound_card
Return value:
Id of pressed button in the dialog