Commit Graph

115 Commits

Author SHA1 Message Date
LibretroAdmin ace21d28f7 Fix C++ comments 2022-10-01 17:56:16 +02:00
yoshisuga bc02f8319e [iOS] New iOS 13 project to support Swift; Custom keyboard and touch mouse support (#13435)
* Support for Swift, added emulator keyboard

* fixed toggle key handling using magic number hack for now

* fixed keyboard transparency slider for now with suboptimal fix; add gesture recognizer to hide/show keyboard

* Support CocoaView extensions in Swift; move keyboard delegate impl and setup to swift extension

* moved keyboard view model creation out of EmulatorKeyboard

* implement key pressed delegate in swift extension

* added input method for directly sending RETROK_* codes to support a touchscreen keyboard; assign keyboard model delegates; updated keyboard layout (added F1-F12 keys); change shift, control and alt keys to be modifiers

* enable focus mode when custom keyboard is shown; enable/disable overlay when custom keyboard is toggled

* Specify -DHAVE_OPENGLES2 instead of -DHAVE_OPENGLES3 since glsym_es3.h does not compile in iOS 14.5
Fix tvOS build using compiler flags

* Create new project for iOS 13 deploy target; add check for deploy target to conditionally compile for new iOS 13 specific feature (custom keyboard)

* force disable core info caching for iOS, use opengl es2 for debug

* Add flag for iOS custom keyboard - 3-finger swipe up to show, 3-finger swipe down to hide

* use OpenGLES2 instead; using ES3 results in compile time errors on iOS 14.5

* code cleanup

* Updated references to -DDONT_WANT_ARM_ASM_OPTIMIZATIONS flag

* Add JIT support for non-jailbroken devices

* iOS: Add support for touch mouse handler

* Added a HAVE_IOS_TOUCHMOUSE preprocessor macro so that it builds under the iOS11_Metal xcode project

* Changed click-and-drag behavior to double tap hold and drag

* Visual improvements to the emulator keyboard: updated colors, improved key-press effect
2022-02-22 08:21:34 +01:00
twinaphex 565fd3496e Remove keyboard_event_apple.c 2020-08-31 20:53:17 +02:00
twinaphex bfb2961fb3 Simplify keyboard_event_apple.c 2020-08-31 20:48:02 +02:00
twinaphex abb6367150 Remove unused apple_keyboard_find_any_key 2020-08-28 20:05:34 +02:00
twinaphex fe5307c4ac Use string_split_noalloc instead of string_split 2020-08-26 12:54:51 +02:00
twinaphex 6e59d52184 Cleanups/comments 2020-07-07 05:58:07 +02:00
twinaphex 5790f13798 Add comments 2020-07-07 03:49:54 +02:00
twinaphex 8b11d9f039 Cleanups 2020-02-23 05:55:15 +01:00
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
twinaphex 4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex ceecf4751a Simplify DOS keyboard code 2019-06-23 02:22:54 +02:00
twinaphex e51a98a295 Simplify android input code 2019-06-23 01:57:12 +02:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Rob Loach fa75f47995 Fix includes of input_config 2017-08-30 23:14:27 -04:00
Rob Loach d993bd3dcf Remove input_config.h include 2017-08-30 23:10:12 -04:00
twinaphex 060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex c3f5c499f3 Simplify cocoa_input 2017-06-07 00:33:03 +02:00
twinaphex 6b3dbff75f Merge input_driver.c and input_joypad_driver.c 2017-06-06 05:56:02 +02:00
twinaphex 9ebfb36b4e Use rarch_keysym_lut directly 2017-06-06 05:17:25 +02:00
twinaphex f321763b1c Cleanups 2017-05-22 00:12:23 +02:00
twinaphex c0c3bb3dbd Cleanup 2017-05-22 00:11:46 +02:00
twinaphex 4963ff31f0 keyboard_event_xkb.c - cleanup 2017-05-22 00:11:28 +02:00
twinaphex 46182e090b Merge keyboard_event_win32.cpp with win32_common.cpp 2017-05-20 19:46:27 +02:00