mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Merge branch 'KeyRepeat' of github.com:TomHarte/CLK into KeyRepeat
This commit is contained in:
commit
7f26cb0ecf
@ -6592,6 +6592,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
IGNORE_APPLE,
|
IGNORE_APPLE,
|
||||||
);
|
);
|
||||||
|
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
@ -6613,6 +6614,7 @@
|
|||||||
NDEBUG,
|
NDEBUG,
|
||||||
IGNORE_APPLE,
|
IGNORE_APPLE,
|
||||||
);
|
);
|
||||||
|
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
@ -1050,7 +1050,7 @@ int main(int argc, char *argv[]) {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case SDL_TEXTINPUT:
|
case SDL_TEXTINPUT:
|
||||||
keypresses.emplace_back(event.text.timestamp, event.text.text, false);
|
keypresses.emplace_back(event.text.timestamp, event.text.text);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SDL_KEYDOWN:
|
case SDL_KEYDOWN:
|
||||||
@ -1136,7 +1136,7 @@ int main(int argc, char *argv[]) {
|
|||||||
event.key.keysym.scancode,
|
event.key.keysym.scancode,
|
||||||
event.key.keysym.sym,
|
event.key.keysym.sym,
|
||||||
event.type == SDL_KEYDOWN,
|
event.type == SDL_KEYDOWN,
|
||||||
event.repeat);
|
event.key.repeat);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case SDL_MOUSEBUTTONDOWN:
|
case SDL_MOUSEBUTTONDOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user