Provide information regarding the keyboard.
List of Global Functions
CalledRestore - CalledRestore()
GetKeyboardForLanguage - GetKeyboardForLanguage()
GetX11KeyData - GetX11KeyData()
Keyboard - Keyboard()
MakeProposal - MakeProposal()
Name - Name() Just return the keyboard name, without setting anything.
Probe - Probe()
Restore - Restore()
Save - Save()
Selection - Selection()
Set - Set()
SetConsole - SetConsole()
SetLanguage - SetLanguage()
SetX11 - SetX11()
keymap2yast - Return a map for conversion from keymap to YaST2 keyboard code() Get the map of translated keyboard names.
xf86_update - xf86_update()
List of Global Variables
GetKeyboardForLanguage()
Function parameters
string sys_language
string default_keyboard
Return value
string - The keyboard language for this language, e.g. "english-us" or the default value if nothing found.
GetX11KeyData()
Function parameters
string keymap
Return value
map - containing the x11 config data
MakeProposal()
Function parameters
boolean force_reset
boolean language_changed
Return value
string - user readable description. If force_reset is true reset the module to the keyboard stored in default_kbd.
Name() Just return the keyboard name, without setting anything.
Return value
string - user readable description.
Restore()
Return value
boolean - true - Data could be restored false - Restore not successful
Selection()
Return value
map<string, string> - of $[ keyboard_code : keyboard_name, ...] for all known keyboards. 'keyboard_code' is used internally in Set and Get functions. 'keyboard_name' is a user-readable string.
SetConsole()
Function parameters
string keyboard
Return value
string - The loadkeys command that has been executed to do it. (also stored in Keyboard::ckb_cmd)
SetLanguage()
Function parameters
string keyboard
Return value
boolean - true - Success. Language set in public data. false - Error. Language not set.
SetX11()
Function parameters
string keyboard
Return value
string - The xkbset command that has been executed to do it. (also stored in Keyboard::xkb_cmd)
Return a map for conversion from keymap to YaST2 keyboard code() Get the map of translated keyboard names.
Return value
map<string, string> - of $[ keyboard_code : keyboard_name, ...] for all known keyboards. 'keyboard_code' is used internally in Set and Get functions. 'keyboard_name' is a user-readable string. Uses Language::language for translation.