def get_keyboard_config(self, props): keyboard_config = KeyboardConfig() keyboard_config.enabled = props.boolget("keyboard", True) keyboard_config.parse_options(props) keyboard_config.xkbmap_layout = props.strget("xkbmap_layout") keyboard_config.xkbmap_variant = props.strget("xkbmap_variant") keylog("get_keyboard_config(..)=%s", keyboard_config) return keyboard_config
def get_keyboard_config(self, props): keyboard_config = KeyboardConfig() keyboard_config.enabled = props.boolget("keyboard", True) keyboard_config.parse_options(props) keyboard_config.xkbmap_layout = props.strget("xkbmap_layout") keyboard_config.xkbmap_variant = props.strget("xkbmap_variant") keylog("get_keyboard_config(..)=%s", keyboard_config) return keyboard_config
def get_keyboard_config(self, props=typedict()): from xpra.x11.server_keyboard_config import KeyboardConfig keyboard_config = KeyboardConfig() keyboard_config.enabled = props.boolget("keyboard", True) keyboard_config.parse_options(props) keyboard_config.xkbmap_layout = props.strget("xkbmap_layout") keyboard_config.xkbmap_variant = props.strget("xkbmap_variant") keyboard_config.xkbmap_options = props.strget("xkbmap_options") keylog("get_keyboard_config(..)=%s", keyboard_config) return keyboard_config