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
  • Joystick
  • Label
  • Package
  • Popup
  • Sound
  • Wizard

Includes

  • sound/joysticks.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_test_popup (integer card_id, integer joymodidx, string joymod) -> boolean

Dialog for joystick testing.

Parameters:
card_id Sound card card_id
joymodidx model id
joymod joystick module
Return value:
false when Abort was pressed or some problems occurred
local joy_dialog (integer card_id, symbol button) -> symbol

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

Parameters:
card_id Sound card card_id
button Label for `next button: `finish, `ok or `next
Return value:
Id of pressed button in the dialog