Hotkeys

interface Hotkeys

Clients hotkeys. They are available and can be changed in the Plasmo Voice menu in the hotkeys widgets.

Functions

Link copied to clipboard
@NotNull
abstract fun getCategories(): @NotNull Map<String, Collection<Hotkey>>
Gets a map of hotkey categories, where each category is associated with a collection of hotkeys.
Link copied to clipboard
@NotNull
abstract fun getHotkey(@NotNull name: @NotNull String): @NotNull Optional<Hotkey>
Retrieves a hotkey by its name.
Link copied to clipboard
@NotNull
abstract fun getPressedKeys(): @NotNull Collection<Hotkey.Key>
Gets the currently pressed keys.
Link copied to clipboard
@NotNull
abstract fun register(@NotNull name: @NotNull String, keys: List<Hotkey.Key>, @NotNull category: @NotNull String, anyContext: Boolean): @NotNull Hotkey
Registers a new hotkey.
Link copied to clipboard
abstract fun resetPressedStates()
Resets the pressed state of all hotkeys.