hs.keycodes.map
hs.keycodes.currentLayout() -> string
hs.keycodes.currentLayoutIcon() -> hs.image object
hs.keycodes.currentMethod() -> string
hs.keycodes.currentSourceID([sourceID]) -> string | boolean
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Get or set the source id for the keyboard input source | | Parameters |hs.keycodes.iconForLayoutOrMethod(sourceName) -> hs.image object
hs.keycodes.inputSourceChanged(fn)
hs.keycodes.layouts([sourceID]) -> table
hs.keycodes.methods
.hs.keycodes.methods([sourceID]) -> table
hs.keycodes.layouts
.hs.keycodes.setLayout(layoutName) -> boolean
hs.keycodes.setMethod(methodName) -> boolean