projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b447f4
)
treat Android 'menu' button as 'ok' button in requester dialogs
author
Holger Schemel
<info@artsoft.org>
Sat, 30 Aug 2014 12:12:54 +0000
(14:12 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 30 Aug 2014 12:12:54 +0000
(14:12 +0200)
ChangeLog
patch
|
blob
|
history
src/tools.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 515f53bba9e79ff170f033f113ea969f54111956..5530b2828446b9a23b7a0e09b502c8f677df30df 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2014-08-30
+ * added Android "menu" button to be treated as "yes" requester button
+ (while the Android "back" button was already treated as "no" button)
+
2014-08-28
* added command line options "--version" / "-V" to show program version
(also shows SDL library versions when prefixed with "--debug" option)
diff --git
a/src/tools.c
b/src/tools.c
index 2c3fb9cde5e622989b23541e2df7b083fb90839d..c812e3021588e52138ca93ff71b29d56dfc07fb8 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4600,6
+4600,9
@@
static int RequestHandleEvents(unsigned int req_state)
break;
case KSYM_Return:
+#if defined(TARGET_SDL2)
+ case KSYM_Menu:
+#endif
result = 1;
break;