9 Commits

Author SHA1 Message Date
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
abb6367150 Remove unused apple_keyboard_find_any_key 2020-08-28 20:05:34 +02:00
Rob Loach
d993bd3dcf Remove input_config.h include 2017-08-30 23:10:12 -04:00
twinaphex
c3f5c499f3 Simplify cocoa_input 2017-06-07 00:33:03 +02:00
twinaphex
b87bbc7f98 Use retro_common_api.h 2016-06-05 05:31:55 +02:00
twinaphex
eaa98dafc0 Fix header 2015-11-29 16:27:11 +01:00
twinaphex
d018f65e95 Rename cocoa_input_keyboard_event 2015-11-29 16:26:13 +01:00
twinaphex
2deeb36a81 Rename apple_keycode.h 2015-11-29 15:50:27 +01:00