setEnabledOnLoginScreen
setEnabledOnLoginScreen: (HotkeyListener, boolean) -> ()Whether the hotkey also works on the login screen.
HotkeyListener.new(…)| Method | Returns | Description |
|---|---|---|
setEnabledOnLoginScreen(boolean) | () | Whether the hotkey also works on the login screen. |
hotkeyPressed() | () | Override: the hotkey went down. |
hotkeyReleased() | () | Override: the hotkey came up. |
new(() -> Keybind) | HotkeyListener | A listener for the keybind keybind() returns. A subclass with an init of its own passes it on: `X.super.init(self, function() return co… |
| Method | Returns | Description |
|---|---|---|
HotkeyListenerClass.new | HotkeyListener | A listener for the keybind keybind() returns. A subclass with an init of its own passes it on: `X.super.init(self, function() return co… |
setEnabledOnLoginScreensetEnabledOnLoginScreen: (HotkeyListener, boolean) -> ()Whether the hotkey also works on the login screen.
hotkeyPressedhotkeyPressed: (HotkeyListener) -> ()Override: the hotkey went down.
hotkeyReleasedhotkeyReleased: (HotkeyListener) -> ()Override: the hotkey came up.
newnew: (() -> Keybind) -> HotkeyListenerA listener for the keybind keybind() returns. A subclass with an init of its own passes it on: X.super.init(self, function() return config:hotkey() end).