Commit Graph

226 Commits

Author SHA1 Message Date
Twinaphex b11bfc8a73 Add ui_companion_driver_get_main_window 2016-06-12 19:29:07 +02:00
twinaphex 0e01a3c84b Add ui_browser_window 2016-06-08 15:47:00 +02:00
twinaphex 047ffe9d30 Remove apple_display_alert 2016-06-08 07:19:19 +02:00
twinaphex a247b16164 Add ui_null_msg_window 2016-06-08 06:29:52 +02:00
twinaphex a90bd8cb67 Add ui_null_application.c 2016-06-07 16:31:35 +02:00
twinaphex 757c83ea58 Turn apple_rarch_exited static 2016-06-04 18:10:52 +02:00
twinaphex 61e1c13ae6 Create stub window interface 2016-06-04 04:24:54 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
Twinaphex 19afc807ef (iOS) Not sure why we are calling rarch_main() twice for iOS 2016-05-10 23:33:51 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 13e67aa44e Create runloop_iterate_data 2016-05-08 06:29:11 +02:00
Twinaphex 20706b51de (iOS) Fix iOS - pass argc/argv 2016-04-05 21:22:23 +02:00
Twinaphex cf9d8a8adb (iOS) rewrite this 2016-04-05 20:58:17 +02:00
twinaphex c536e0fbdc (iOS) argv needs to always be non-NULL 2016-04-05 20:53:02 +02:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex a767031651 Use string_is_equal in more places 2016-01-20 04:11:25 +01:00
twinaphex cebea56412 Add UI Companion Enable setting 2016-01-18 21:35:09 +01:00
Phillip Ponson 6ca58a4d6e iOS: Refactoring support for background Music.app. 2016-01-17 19:51:28 -06:00
twinaphex dd239fc85d Add HAVE_AVFOUNDATION ifdefs 2016-01-16 22:02:49 +01:00
pponso1 a983c8269e iOS. Adding support for Music.app.
I had to comment out this line in the showPauseMenu function: 
  
ui_companion_cocoatouch_event_command(NULL, EVENT_CMD_AUDIO_STOP);

This may actually be on the only change needed. 😜
2016-01-16 12:37:09 -06:00
pponso1 3ce5ad9243 iOS. Adding support for Music.app.
Users who want to play games while listening to music should enjoy these modifications. Not the cleanest; refactoring is needed.
2016-01-16 12:25:57 -06:00
Yoshi Sugawara 890eaafcd7 Fixed reading keyboard input for iOS 9 (use [UIApplication handleKeyUIEvent]). Fixed 8bitdo SNES30/SFC30 button mappings (fixed key mapping for X button) 2015-12-26 19:38:02 -05:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
twinaphex 718ed30d70 (Cocoa) Buildfixes 2015-12-06 18:18:50 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 5e1b2b3bfa Move driver->input_data to input_driver.c 2015-11-29 18:18:25 +01:00
twinaphex a9f2959f4f (Cocoa) Add header includes 2015-11-29 16:30:38 +01:00
twinaphex d018f65e95 Rename cocoa_input_keyboard_event 2015-11-29 16:26:13 +01:00
Twinaphex 3001729545 Revert "Go through input_driver_get_data_ptr whenever we need input data"
This reverts commit 52c9a2ec43.
2015-11-28 18:58:33 +01:00
twinaphex 52c9a2ec43 Go through input_driver_get_data_ptr whenever we need input data
state
2015-11-28 18:51:12 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex da8c36b0c3 Don't need sleeping argument anymore for rarch_main_data_iterate 2015-11-28 03:26:01 +01:00
twinaphex a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b.
2015-11-28 03:05:37 +01:00
twinaphex ce7ec0681b Don't render menu if unfocused - reimplement this 2015-11-28 03:03:26 +01:00
twinaphex 133b4754a4 (iOS) Buildfix 2015-11-28 00:17:36 +01:00
Yongwoon Cho 8be77a102e Fix : iOS UI Bug with navigation bar
issue #2159 fixed.
2015-11-21 17:35:24 +09:00
twinaphex 37d45643f9 (BTStack) Move btpad_set_inquery_state calls to btstack_hid.c 2015-11-18 01:57:45 +01:00
twinaphex 0b8231dd79 Forward declaration for btpad_set_inquiry_state 2015-11-17 06:40:17 +01:00
twinaphex aa208993d5 btstack_hid.h - remove 2015-11-17 06:37:33 +01:00
Twinaphex 2f4e00214e (iOS) Buildfix 2015-11-16 04:19:32 +01:00
twinaphex 4f55b360ac Create HAVE_BTSTACK ifdef 2015-11-16 04:17:13 +01:00
Twinaphex 83b38cd5c1 Remove mfi_hid.h too 2015-11-16 03:56:08 +01:00
Twinaphex db35a28e50 Revert "Refactor slots to be a part of input_hid_driver.c now"
This reverts commit 646ded9d1c.
2015-11-16 03:48:51 +01:00
twinaphex 646ded9d1c Refactor slots to be a part of input_hid_driver.c now 2015-11-16 03:39:40 +01:00
Twinaphex 57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
twinaphex e0b5925c24 Remove now unused icade code 2015-11-13 21:42:58 +01:00
Twinaphex 924642a744 Revert "Revert "Refactor small keyboard/icade code a bit""
This reverts commit fde9676ac3.
2015-11-13 01:50:34 +01:00
Twinaphex ba00560f2b Revert "Revert "(iOS) Add Small Keyboard/iCade Enable options""
This reverts commit 834e4d848e.
2015-11-13 01:50:22 +01:00
Twinaphex 834e4d848e Revert "(iOS) Add Small Keyboard/iCade Enable options"
This reverts commit 6ea11afe28.
2015-11-13 01:39:39 +01:00
Twinaphex fde9676ac3 Revert "Refactor small keyboard/icade code a bit"
This reverts commit 340c15c517.
2015-11-13 01:39:19 +01:00
twinaphex 340c15c517 Refactor small keyboard/icade code a bit 2015-11-12 17:54:52 +01:00
twinaphex 6ea11afe28 (iOS) Add Small Keyboard/iCade Enable options 2015-11-12 06:28:05 +01:00
twinaphex 3d65cf07ca (CocoaTouch) Use new event command 2015-11-11 03:24:53 +01:00
twinaphex aed0cb8d21 Update rarch_main_set_pause references 2015-09-26 13:22:36 +02:00
twinaphex e3e1a5a35c Refactor away rarch_main_set_idle 2015-09-26 13:20:15 +02:00
twinaphex cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
Jean-André Santoni 18d157acea Display OSD messages in cocoatouch 2015-09-22 22:50:58 +02:00
twinaphex f87154773d Add msg_queue_push to UI companion driver interface 2015-09-22 22:20:03 +02:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
Jean-André Santoni e8a00ae73a Workaround for the double populate on cocoatouch 2015-09-21 23:32:06 +02:00
Jay McCarthy 4c04c2c47a animate moving menus better 2015-09-21 16:52:37 -04:00
twinaphex 7079cdb798 Add notify_refresh to UI companion driver interface 2015-08-30 13:03:34 +02:00
twinaphex fdd1d3ee9f Pass sleep_ms argument to rarch_main_iterate 2015-08-27 14:52:02 +02:00
Twinaphex 84c029e2e0 Reimplement rarch_draw_observer 2015-08-27 13:24:56 +02:00
twinaphex 4b0ee4b9c2 Move rarch_sleep outside of rarch_main_iterate so that caller
can implement the idle step itself
2015-08-27 13:13:14 +02:00
Twinaphex 05740fc55a (iOS) Buildfix 2015-08-24 01:35:52 +02:00
twinaphex 8a8042bb5e Reimplement audio start/stop (courtesy aliaspider) 2015-08-23 21:05:10 +02:00
Twinaphex f32ae7633f (iOS) Buildfix 2015-08-22 23:28:17 +02:00
twinaphex 3c7844faa6 Stop audio if we go to Cocoa UI 2015-08-22 23:22:50 +02:00
twinaphex 2b6a6aeb04 (UI CocoaTouch) Cleanups 2015-08-21 04:42:38 +02:00
twinaphex 4f755d3bec Cleanups 2015-08-21 04:41:28 +02:00
twinaphex 8bf28544ef Add parameter to function signature of menu_iterate 2015-08-21 04:33:55 +02:00
twinaphex 7831fd6fc0 Cleanups pt. 3 2015-08-21 04:16:43 +02:00
Twinaphex c16299b6ad (CocoaTouch) Buildfix 2015-08-15 02:59:36 +02:00
twinaphex 53cd7a56a9 (UI companion) Implement iterate_menu function - should iterate
menu system for one frame
2015-08-15 02:55:30 +02:00
Jean-André Santoni c3bad44632 Start displaying messageboxes in cocoa_touch 2015-08-15 02:42:04 +02:00
twinaphex b748436c65 (iOS) Move HAVE_FMI at end of applicationDidFinishLaunching 2015-08-14 02:50:48 +02:00
twinaphex 249cbaba6c (ui_cocoatouch.m) Cleanup useless functions 2015-08-14 02:48:36 +02:00
Twinaphex 109dc850d0 Revert "Revert "(iOS) Don't use iteration timers anymore""
This reverts commit df0307348d.
2015-08-06 08:38:11 +02:00
Twinaphex df0307348d Revert "(iOS) Don't use iteration timers anymore"
This reverts commit 6ae26e95ea.
2015-08-06 08:36:46 +02:00
Twinaphex 6ae26e95ea (iOS) Don't use iteration timers anymore 2015-08-06 08:35:28 +02:00
twinaphex 4cc71c0574 Refactor ui_companion_is_on_foreground 2015-08-05 13:56:59 +02:00
Twinaphex 5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex b4c5f98245 Cleanups 2015-08-05 12:59:33 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex 74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
Twinaphex 3f46a74f08 (UI CocoaTouch) Cleanups 2015-08-05 12:06:37 +02:00
Twinaphex e873783dca (UI) Refactor 2015-08-05 11:41:41 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
twinaphex e23499d2b2 (runloop_data.c) Cleanups 2015-07-09 00:01:55 +02:00
Twinaphex 784b1e2e40 (Apple) buildfixes 2015-06-02 21:39:06 +02:00
twinaphex a4812c955f Get rid of 'Gets here' messages 2015-06-01 17:06:28 +02:00
Jay McCarthy c97d74d30b use a timer in the run loop if there is data work to be done in ra 2015-05-17 06:22:51 -04:00
Twinaphex e59dc3a64a (CocoaTouch) Call rarch_main_data_iterate while companion UI is in foreground,
responds to button clicks now but with a delay
2015-05-16 18:10:21 +02:00
twinaphex 74ee699d5c Split up rarch_main_data_iterate outside of rarch_main_iterate 2015-05-16 17:00:50 +02:00
twinaphex ffaca6b377 Log 'notify list pushed' 2015-05-15 13:43:38 +02:00
Twinaphex 679f1345fd (iOS) Start handling MENU_ACTION_REFRESH 2015-05-15 13:39:14 +02:00
Jay McCarthy bd66d9796f change menu_entries to my wish list of functionality 2015-05-14 16:18:32 -04:00
Twinaphex 4e1365f94e (CocoaTouch) Comment out cocoatouch_notify_list-pushed 2015-05-13 19:48:41 +02:00
Jay McCarthy d96c2e2a45 Initial attempt to support notify_list_pushed 2015-05-12 10:45:26 -04:00
Twinaphex 297fc772c0 (UI Companion) Create notify_list_loaded 2015-05-11 09:56:45 +02:00
Twinaphex af00b958d5 (iOS) Move ios_get_powerstate code to platform_darwin.m 2015-04-21 12:15:42 +02:00
Twinaphex 5810a49866 Get rid of 'unloadingCore' 2015-04-21 11:51:35 +02:00
Twinaphex 1afdb5cb92 Refactor apple_platform variable 2015-04-21 11:43:43 +02:00
Twinaphex c0c77c66bf (iOS) remove loadingCore 2015-04-20 23:19:14 +02:00
Twinaphex 70ee864a9f (Cocoa) Remove loadingCore 2015-04-20 23:16:35 +02:00
twinaphex 14505cc222 Create new rarch_main signature 2015-04-20 21:31:25 +02:00
twinaphex e8a8b378d5 (Cocoa) Rename RAGameView to CocoaView 2015-04-20 20:39:39 +02:00
twinaphex b1d2bd0032 (CocoaTouch) Fix event_command callback 2015-04-20 18:54:07 +02:00
Twinaphex 98ade89759 (UI companion driver) Update signatures of existing function pointer implementations (event_command) 2015-04-20 18:38:47 +02:00
Twinaphex b97dadd0e3 (iOS) Remove useless forward decl 2015-04-20 18:25:37 +02:00
Twinaphex 09fe3e9176 Move apple_display_alert implementation to UI driver 2015-04-20 18:10:15 +02:00
twinaphex 16115ebb03 Merge platform.m files with UI companion driver source file 2015-04-20 17:26:05 +02:00
twinaphex aa54f7fb41 Move apple_rarch_exited to UI companion drivers 2015-04-20 17:10:28 +02:00
twinaphex 20befff4c1 (Cocoa) Move cocoa common files 2015-04-20 12:52:16 +02:00
twinaphex a1e2228477 Create event_command callback 2015-04-13 13:46:48 +02:00
twinaphex 7c47695f37 (UI CocoaTouch) Implement toggle 2015-04-13 01:55:35 +02:00
twinaphex 099ca83996 Update credits 2015-04-12 04:22:58 +02:00
Twinaphex 36e0832096 (UI/CocoaTouch) Updates 2015-04-12 04:03:27 +02:00
Twinaphex 3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex bf084eb14a (iOS) Create ui_cocoatouch.m 2015-04-12 03:02:48 +02:00