Commit Graph

468 Commits

Author SHA1 Message Date
Hans-Kristian Arntzen 951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
twinaphex b5e7861125 menu_input_frame_retropad - cleanup 2016-05-06 05:19:31 +02:00
twinaphex 4ec6cb47ec Use BIT32_SET 2016-05-06 05:16:15 +02:00
Jean-André Santoni 90d31a527c (XMB) Temporary patch for the messagebox glitch 2016-04-26 00:09:30 +07:00
twinaphex 8f7f40b86c Move more functionality to input_keyboard_ctl 2016-03-23 06:44:00 +01:00
twinaphex 0b9595b7e1 Should fix input_keyboard_wait_keys still being active after
we bind a button with the gamepad
2016-03-23 05:49:38 +01:00
twinaphex 432d7a358a (Android) Move Android-specific Moto G2 DPI workaround to android graphics context
driver
2016-03-12 08:52:29 +01:00
radius 48d61f33ab attempt to fix moto g2 issue 2016-03-12 00:00:05 -05:00
twinaphex e9a0aba85b Silence bunch of warnings and fix an error 2016-03-04 19:42:30 +01:00
twinaphex 5a1d8a96d0 (Menu) Create new input_ctl actions for pointer dragging 2016-03-03 23:21:02 +01:00
twinaphex 885966c16b Nit 2016-03-02 22:08:37 +01:00
twinaphex 138e4bc78b menu_input_mouse_state - cleanups 2016-03-02 22:02:35 +01:00
twinaphex 4ba487df99 (menu_input.c) Turn some variables into static local variables 2016-03-02 22:01:00 +01:00
twinaphex 0b78b07573 Cleanups 2016-03-02 05:17:30 +01:00
twinaphex b038b4ae41 Move some variables to menu_input_ctl as static local variables 2016-03-02 05:09:09 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex a82cc0d31f Remove MENU_INPUT_CTL_SET_FRAME_INPUT 2016-02-26 21:47:25 +01:00
twinaphex d443ac53ef Cleanups 2016-02-26 21:46:26 +01:00
twinaphex 13a3bfeee7 Cleanups 2016-02-26 21:43:20 +01:00
twinaphex 6aa2fbea47 Cleanups 2016-02-26 21:30:54 +01:00
twinaphex a3aba22c6e Cleanups 2016-02-26 21:29:01 +01:00
twinaphex d40af3143f Remove this - unneeded 2016-02-26 21:09:35 +01:00
twinaphex 678ec1b662 Remove unused MENU_INPUT_CTL_SCROLL_UP/SCROLL_DOWN 2016-02-26 21:07:32 +01:00
twinaphex fe60a7d813 Cleanup 2016-02-26 21:04:56 +01:00
twinaphex 4bda039f62 Cleanup menu_input_mouse_frame 2016-02-26 21:02:29 +01:00
twinaphex c83c242e3a Cleanups 2016-02-26 20:43:12 +01:00
twinaphex 02b456f3a1 Turn some variables into static local variables 2016-02-26 20:38:47 +01:00
twinaphex 59db6de385 Refactor more mouse input code for the menu 2016-02-26 20:35:56 +01:00
twinaphex 0f83f48cb4 Cleanups 2016-02-26 20:31:02 +01:00
twinaphex 4a097af3e4 Cleanups 2016-02-26 20:23:07 +01:00
twinaphex c31ef24412 Add MENU_INPUT_CTL_SET_FRAME_INPUT 2016-02-26 18:01:10 +01:00
twinaphex 583d4fd283 Cleanups 2016-02-26 17:55:47 +01:00
twinaphex 2de97c9176 Cleanup 2016-02-26 13:54:04 +01:00
twinaphex 7d61fbb780 Respect 80-char width limit 2016-02-25 20:53:52 +01:00
twinaphex a2d4d832f6 Move defines to menu_input.c 2016-02-25 19:23:28 +01:00
twinaphex 37d895d77b Create MENU_INPUT_CTL_BIND_SET_MIN_MAX 2016-02-25 19:01:51 +01:00
twinaphex b870aaf2fa Create MENU_INPUT_CTL_START_LINE 2016-02-25 18:36:29 +01:00
twinaphex 27b5617cd9 Create MENU_INPUT_CTL_BIND_ITERATE 2016-02-25 17:55:45 +01:00
twinaphex a9fc111ea2 Refactor code 2016-02-25 17:41:33 +01:00
twinaphex 22f6d1ce1d Cleanups 2016-02-25 17:32:12 +01:00
twinaphex 60c551fe75 Cleanups 2016-02-25 17:26:55 +01:00
twinaphex b1a3d5bb25 Create MENU_INPUT_CTL_CHECK_INSIDE_HITBOX 2016-02-25 17:11:00 +01:00
twinaphex 1d84894e09 Create MENU_ANIMATION_CTL_IDEAL_DELTA_TIME_GET 2016-02-25 16:05:30 +01:00
twinaphex 77c583ae47 Create DISPLAYLIST_PROCESS 2016-02-24 23:19:53 +01:00
twinaphex e8eaa54218 Refactor menu_displaylist_ctl 2016-02-24 23:05:54 +01:00
twinaphex 7968914453 Refactor menu_displaylist_push_list to menu_displaylist_ctl 2016-02-24 22:56:41 +01:00
twinaphex 349892debf Cleanup 2016-02-14 17:27:14 +01:00
twinaphex 89f0c4211c Create menu_input_frame_build 2016-02-14 07:40:09 +01:00
twinaphex f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex ead20f9ba5 Action OK toggles boolean setting now too 2016-02-14 04:33:42 +01:00
twinaphex 3140e5f980 Implement GFX_CTL_GET_METRICS 2016-02-13 22:14:33 +01:00
twinaphex db77e1e6ec Refactor menu_input_ctl 2016-02-11 01:57:52 +01:00
twinaphex ddf5283ecd Cleanups 2016-02-11 00:47:00 +01:00
twinaphex 84d64c4042 Add RARCH_MENU_CTL_DRIVER_DATA_GET 2016-02-10 21:15:23 +01:00
twinaphex 6151e1c425 Create CORE_CTL_RETRO_CTX_FRAME_CB and CORE_CTL_RETRO_CTX_POLL_CB 2016-01-27 04:49:38 +01:00
radius 495ee3aaa5 try to fix android input bugs 2016-01-21 16:39:03 -05:00
twinaphex 191ff2e6d0 Cleanups 2016-01-21 19:19:14 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Twinaphex f6e9745dfe stack corruption fix - courtesy of aliaspider 2016-01-06 08:05:31 +01:00
twinaphex 8ea64378f8 Create MENU_INPUT_CTL_DEINIT 2015-12-11 11:56:31 +01:00
twinaphex a1b4ba9280 Cleanups 2015-12-10 14:00:28 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex 526e41f271 Turn menu_input_state into static local variable 2015-12-04 11:43:42 +01:00
twinaphex fdfcbaa042 Backport/rewrites wmarquesr pt. 7.5 2015-12-04 11:08:12 +01:00
twinaphex b280d25f8a Backport/rewrites wmarquesr pt. 8 2015-12-04 11:06:33 +01:00
twinaphex 584e0c5110 Prevent crash in Android 2015-12-03 21:37:52 +01:00
twinaphex 39b8971fae Reduce references to global->cheat 2015-12-01 02:55:07 +01:00
twinaphex b8eba00a7e Reduce scope of global->cheat 2015-12-01 02:46:43 +01:00
twinaphex e8d6e48a74 Remove unused variables 2015-11-29 17:34:31 +01:00
twinaphex 253649b0cf Move flushing_input to input_driver.c 2015-11-29 17:23:30 +01:00
twinaphex c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex 70d782b94a Rename functions to fit input_config_ naming convention 2015-11-28 02:13:27 +01:00
twinaphex 7ca0d74005 Don't expose struct in header anymore 2015-11-28 00:59:47 +01:00
Twinaphex 57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
twinaphex 2b143af4dc Remove 'Save Remap As' 2015-11-15 06:08:12 +01:00
twinaphex 37e450c94c devices_mask no longer needed 2015-11-07 20:44:40 +01:00
twinaphex 61623dcdce Able to bind both keyboard and joypad keys now 2015-11-07 14:33:18 +01:00
twinaphex b5a1cb6d12 Move enum to menu_input.c 2015-11-01 22:57:13 +01:00
twinaphex 60f7a26f53 Move variable out of header 2015-11-01 22:43:54 +01:00
twinaphex 7372885922 (menu_input.h) Move struct definitions out of header file 2015-11-01 22:42:26 +01:00
twinaphex 9607c4fe5d This still works 2015-11-01 20:50:06 +01:00
twinaphex e896799352 Make menu_input_get_ptr a static function now 2015-11-01 20:47:20 +01:00
twinaphex 1e53e3e19a Backport pointer_tap changes 2015-11-01 20:44:04 +01:00
Twinaphex 5287e46e57 Revert "(Menu) Make the mouse left click and the pointer tap use the same cod…" 2015-11-01 20:35:43 +01:00
Jean-André Santoni 5b51124b62 (Menu) Make the mouse left click and the pointer tap use the same codepath 2015-11-02 02:22:21 +07:00
Jean-André Santoni bd99e952d6 (Menu) Move pointer_tap on the menu driver side 2015-11-02 01:17:06 +07:00
Jean-André Santoni 2f56d5f2d6 (Menu) Refactor pointer_tap 2015-11-02 01:05:33 +07:00
twinaphex d800f7b8d9 Hook up bind_mode inside menu_input_key_bind_set_mode 2015-10-30 15:20:59 +01:00
twinaphex 6826a3833e menu_entries_get_menu_stack_ptr - add idx parameter 2015-10-27 10:33:19 +01:00
twinaphex ab9006f21e Add 'idx' to menu_entries functions 2015-10-27 10:29:50 +01:00
twinaphex 0d89bca635 Start setting up menu_entries function so we can access
multiple stacks
2015-10-27 10:10:33 +01:00
twinaphex cdfc2ffd59 Implement MENU_POINTER_PRESSED 2015-10-25 04:04:46 +01:00
twinaphex 257efd2899 Make menu_input_frame_pointer part of menu_input_frame_retropad
again
2015-10-24 03:56:28 +02:00
twinaphex 81cccd6f71 (menu_input.c) Remove some apparently unneeded code? 2015-10-24 03:50:36 +02:00
twinaphex cc6cd51afa Add menu_input_mouse_check_hitbox 2015-10-24 03:19:06 +02:00
twinaphex 579eb3cd72 (Zarch) Add menu_input_mouse_state 2015-10-24 03:13:40 +02:00
twinaphex b7785a36a3 Cleanups 2015-10-23 09:36:10 +02:00
twinaphex a8d4bf6ec4 (Zarch) Reuse menu_input_mouse_state for left/right mouse button 2015-10-23 09:30:46 +02:00
twinaphex fcaf64c69d Create struct out of mouse input 2015-10-23 09:18:37 +02:00
twinaphex 896a80d6b8 Call menu_driver_iterate another time for pointer/mouse controls 2015-10-23 09:15:05 +02:00
twinaphex 8c74be0879 Rename menu_input_frame to menu_input_frame_retropad 2015-10-23 09:01:57 +02:00
twinaphex 9eb077088f Move bind_mode_keyboard variable to menu_input 2015-10-22 22:44:44 +02:00
twinaphex 05e853c0f2 Remove unused variables 2015-10-22 22:39:58 +02:00
twinaphex e6541cb699 Bind Mode is no longer needed - will detect if we are pressing
on a gamepad or keyboard
2015-10-22 20:22:05 +02:00
twinaphex 0ddbbc99fb Joypad binding has a timeout now too 2015-10-22 19:59:30 +02:00
twinaphex db6d0f3201 Comment out 2015-10-22 19:34:54 +02:00
twinaphex 6512e95945 Pass device input mask to menu_input_frame 2015-10-22 19:34:25 +02:00
twinaphex 413aa2489e Create menu_displaylist_push_list_process 2015-10-22 01:38:41 +02:00
twinaphex b7625289f7 Rename some functions 2015-10-19 16:32:51 +02:00
twinaphex 9c6d252c37 Get rid of unused variable 2015-10-18 07:45:28 +02:00
twinaphex 6e2e32970e Create menu_entries_get_size 2015-10-17 19:21:18 +02:00
twinaphex d4c99a5f4e Start using menu_entries_pop_stack 2015-10-17 18:38:14 +02:00
twinaphex d1fa131a35 Create menu_entries_get_menu_stack_ptr 2015-10-17 17:44:57 +02:00
twinaphex 725ca99a6e (menu_input.c) Some namespace changes 2015-10-12 16:45:48 +02:00
twinaphex 070afba5d4 (menu_input.c) Namespace another function 2015-10-12 15:46:21 +02:00
twinaphex 9cf699b9c8 Namespace another function 2015-10-12 15:44:36 +02:00
twinaphex bd289b32ea (menu_input.c) Better namespacing 2015-10-12 15:41:14 +02:00
twinaphex ec4289e7ad Prefix all functions with menu_setting_ 2015-10-11 17:25:49 +02:00
twinaphex 750c134b86 CXX_BUILD fixes 2015-10-11 17:17:05 +02:00
twinaphex 34f4ba711f Get rid of unused variable 2015-10-11 15:52:41 +02:00
twinaphex 2f12ddde32 (menu_setting.c) Go through more wrapper functions 2015-10-11 14:23:32 +02:00
Twinaphex 4f1e89b21b (menu_input.c) Start making this code slightly more sane and less of a
total mess
2015-10-11 09:07:03 +02:00
Twinaphex 026de2f96e (menu_input.c) Use new RARCH_DEVICE_MOUSE_SCREEN_{X|Y} 2015-10-11 08:48:36 +02:00
twinaphex f6d4ea0a68 (menu_input.c) Cleanups 2015-10-09 20:35:30 +02:00
twinaphex a3fdac4a65 (Menu) Enable EXPERIMENTAL_MOUSE_SCREEN 2015-10-08 21:06:20 +02:00
twinaphex e572cb19f5 Add EXPERIMENTAL_MOUSE_SCREEN to menu_input.c 2015-10-08 10:07:30 +02:00
twinaphex 0d6c5ec4d1 (GLUI/RGUI) Take out scrollup/scrolldown functionality for now 2015-10-05 02:06:39 +02:00
twinaphex 8d705844de Should fix MENU_INPUT_CTL_SET_KEYBOARD_LABEL 2015-10-03 22:18:43 +02:00
twinaphex 308fe9427a Fix MENU_INPUT_CTL_SET_KEYBOARD_LABEL_SETTING 2015-10-03 22:14:35 +02:00
twinaphex 7ab628f655 Simplify 2015-10-03 22:09:59 +02:00
twinaphex 864a93def9 Add MENU_INPUT_CTL_UNSET_KEYBOARD_* 2015-10-03 22:09:12 +02:00
twinaphex 94c3546e71 More static code analysis cleanups 2015-09-28 22:03:16 +02:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex b6d31fd1a2 (menu_input.c) Rename current_setting to setting 2015-09-28 15:58:24 +02:00
twinaphex d38e327514 (menu_input.c) Get rid of some pointer grabbing 2015-09-28 15:55:57 +02:00
twinaphex 0b9f16763f (menu_input.c) Refactors 2015-09-28 15:52:55 +02:00
Twinaphex bbc5bc9f6e Circular header dependencies are the pits 2015-09-28 06:10:42 +02:00
twinaphex c982e1d6eb Change signature of menu_input_frame 2015-09-27 22:47:34 +02:00
twinaphex c272a42f21 Revert "Attempt to correct integer scaling left/right"
This reverts commit bf8fa06911.
2015-09-27 19:10:32 +02:00
twinaphex bf8fa06911 Attempt to correct integer scaling left/right 2015-09-27 19:07:54 +02:00
twinaphex 6ce4b96d12 Header include cleanups 2015-09-27 01:10:15 +02:00
twinaphex 1d271a4684 Cleanups 2015-09-26 20:16:25 +02:00
twinaphex 6e3c49cb64 Add MENU_INPUT_CTL_SEARCH_START 2015-09-26 02:55:38 +02:00
twinaphex d6015cc4a3 (menu_input.c) Rename some enums 2015-09-26 02:52:05 +02:00
twinaphex 9ee3954423 Refactor menu_animation_set_active 2015-09-25 23:42:00 +02:00