Introduce UI_CTRL_KEY and use where appropriate (#4431)
This is an abstraction for the name of the 'Ctrl' (or equivalent) key on linux, windows and apple
This commit is contained in:
@@ -141,5 +141,11 @@ typedef sample_t sampleFrameA[DEFAULT_CHANNELS] __attribute__((__aligned__(ALIGN
|
||||
#define STRINGIFY(s) STR(s)
|
||||
#define STR(PN) #PN
|
||||
|
||||
// Abstract away GUI CTRL key (linux/windows) vs ⌘ (apple)
|
||||
#ifdef LMMS_BUILD_APPLE
|
||||
# define UI_CTRL_KEY "⌘"
|
||||
#else
|
||||
# define UI_CTRL_KEY "Ctrl"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user