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)",
|
||||
IGNORE_APPLE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@ -6613,6 +6614,7 @@
|
||||
NDEBUG,
|
||||
IGNORE_APPLE,
|
||||
);
|
||||
HEADER_SEARCH_PATHS = /Users/thomasharte/Library/Frameworks/SDL2.framework/Headers;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
|
@ -1050,7 +1050,7 @@ int main(int argc, char *argv[]) {
|
||||
} break;
|
||||
|
||||
case SDL_TEXTINPUT:
|
||||
keypresses.emplace_back(event.text.timestamp, event.text.text, false);
|
||||
keypresses.emplace_back(event.text.timestamp, event.text.text);
|
||||
break;
|
||||
|
||||
case SDL_KEYDOWN:
|
||||
@ -1136,7 +1136,7 @@ int main(int argc, char *argv[]) {
|
||||
event.key.keysym.scancode,
|
||||
event.key.keysym.sym,
|
||||
event.type == SDL_KEYDOWN,
|
||||
event.repeat);
|
||||
event.key.repeat);
|
||||
} break;
|
||||
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user