On macOS use the CMD key wherever CTRL is used on other OS
This commit is contained in:
parent
f078120108
commit
3b03467d62
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
macos.h
|
macos.h
|
||||||
|
|
||||||
Copyright (c) 2021
|
Copyright (c) 2021-2022
|
||||||
http://www.tuxpaint.org/
|
http://www.tuxpaint.org/
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
|
@ -22,6 +22,10 @@
|
||||||
#ifndef __MACOS_H__
|
#ifndef __MACOS_H__
|
||||||
#define __MACOS_H__
|
#define __MACOS_H__
|
||||||
|
|
||||||
|
|
||||||
|
#define KMOD_CTRL KMOD_META /* Anywhere Linux/Windows uses CTRL, also allow CMD on macOS */
|
||||||
|
|
||||||
|
|
||||||
const char *apple_fontsPath(void);
|
const char *apple_fontsPath(void);
|
||||||
const char *apple_preferencesPath(void);
|
const char *apple_preferencesPath(void);
|
||||||
const char *apple_globalPreferencesPath(void);
|
const char *apple_globalPreferencesPath(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue