Header for hotkeys.c.
More...
Go to the source code of this file.
Header for hotkeys.c.
Header for hotkeys.c.
Definition in file hotkeys.h.
◆ Hotkeys
◆ hotkeys_bind()
void hotkeys_bind |
( |
Hotkeys * |
hotkeys | ) |
|
Bind hotkeys manually. Should be paired with a hotkeys_unbind() call.
- Parameters
-
hotkeys | a Hotkeys instance. |
Definition at line 210 of file hotkeys.c.
◆ hotkeys_free()
void hotkeys_free |
( |
Hotkeys * |
hotkeys | ) |
|
Cleanup the hotkey subsystem.
- Parameters
-
hotkeys | a Hotkeys instance. |
Definition at line 228 of file hotkeys.c.
◆ hotkeys_new()
Creates the hotkeys subsystem, and bind the hotkeys.
- Parameters
-
audio | the audio system, needed to control the audio. |
- Returns
- the newly created Hotkeys instance.
Definition at line 250 of file hotkeys.c.
◆ hotkeys_reload()
void hotkeys_reload |
( |
Hotkeys * |
hotkeys | ) |
|
Reload hotkey preferences. This has to be called each time the preferences are modified.
- Parameters
-
hotkeys | a Hotkeys instance. |
Definition at line 121 of file hotkeys.c.
◆ hotkeys_unbind()
void hotkeys_unbind |
( |
Hotkeys * |
hotkeys | ) |
|
Unbind hotkeys manually. Should be paired with a hotkeys_bind() call.
- Parameters
-
hotkeys | a Hotkeys instance. |
Definition at line 192 of file hotkeys.c.