Commit Graph

398 Commits

Author SHA1 Message Date
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
twinaphex
6d6117d5d6 Remove menu_animation_get_delta_time 2015-09-25 23:37:02 +02:00
twinaphex
3e69fdae30 Remove unused variables 2015-09-25 22:48:58 +02:00
twinaphex
541c9a2066 Refactor menu_animation.c 2015-09-25 22:24:07 +02:00
twinaphex
6c94ff15fb Cleanups 2015-09-25 22:08:20 +02:00
twinaphex
6c20d17f16 Refactors 2015-09-25 21:52:04 +02:00
twinaphex
da43a79469 (menu_input.c) Refactor to no longer need menu_display_fb_get_ptr 2015-09-25 20:52:03 +02:00
twinaphex
12b870cafe (menu_input.c) Don't need menu_navigation_get_ptr anymore 2015-09-25 18:37:36 +02:00
twinaphex
cea8160b9d Remove unused variable 2015-09-25 16:29:41 +02:00
twinaphex
31f28bf6f4 (menu_input.c) Refactor more code - get rid of menu_navigation_get_ptr usage 2015-09-25 16:12:11 +02:00
twinaphex
8b569e0443 Refactor away menu_navigation_set 2015-09-25 15:42:31 +02:00
twinaphex
ee7ce4feaa Remove unused variables 2015-09-25 15:02:19 +02:00
twinaphex
d4e2b6128b Refactor menu_navigation_get_selection 2015-09-25 14:57:37 +02:00
twinaphex
5f4827f6d9 Refactor menu_navigation_increment 2015-09-25 14:35:51 +02:00
twinaphex
f0b76fa5b0 Refactor menu_navigation_decrement 2015-09-25 14:32:04 +02:00
twinaphex
ef94cd7606 Correct some mistakes 2015-09-24 23:33:41 +02:00
twinaphex
632d85cfba Fix MENU_CTL_KEYBOARD_* callbacks 2015-09-24 22:53:03 +02:00
twinaphex
389db1ea06 (menu_input.c) Remove one unused pointer 2015-09-24 21:29:31 +02:00
twinaphex
8a6333ddc1 Move defines around 2015-09-24 21:23:16 +02:00
twinaphex
df23b122fe Move state definitions outside of header 2015-09-24 21:02:28 +02:00
twinaphex
115c8cdf12 Create menu_input_set_binds_minmax 2015-09-24 20:56:54 +02:00
twinaphex
a892f5901e Revert "Put menu_input state on heap"
This reverts commit 807be0a965.
2015-09-24 20:52:01 +02:00
twinaphex
807be0a965 Put menu_input state on heap 2015-09-24 20:38:56 +02:00
twinaphex
a45c9167b9 (Menu) menu drivers no longer need to grab pointer to menu_input state 2015-09-24 20:32:21 +02:00
twinaphex
c0b46e3003 Add more functionality to menu_input_ctl 2015-09-24 20:08:11 +02:00
twinaphex
08f24aae4b Add MENU_CTL_POINTER_PTR 2015-09-24 19:56:53 +02:00
twinaphex
aed44e970c Add MENU_CTL_MOUSE_PTR 2015-09-24 19:51:55 +02:00
twinaphex
3fb90871f6 Create menu_input_ctl 2015-09-24 19:47:41 +02:00
twinaphex
10d1aea0e3 Go through menu_input_mouse_state 2015-09-24 17:29:46 +02:00
twinaphex
fb67a39d32 (Menu) Start creating menu_input_pointer_state 2015-09-24 17:18:17 +02:00
twinaphex
172e75c758 Revert "Refactor menu_input.c"
This reverts commit 3ddbf2d5cc.
2015-09-24 14:17:03 +02:00
twinaphex
a8acea98b2 Revert "Move enums to menu_input.c"
This reverts commit 7a5f2228aa.
2015-09-24 14:16:57 +02:00
twinaphex
6927024320 Revert "Make menu_input_get_ptr a static function"
This reverts commit 65b2b0877f.
2015-09-24 14:16:43 +02:00
twinaphex
65b2b0877f Make menu_input_get_ptr a static function 2015-09-24 13:40:58 +02:00
twinaphex
7a5f2228aa Move enums to menu_input.c 2015-09-24 13:25:53 +02:00
twinaphex
3ddbf2d5cc Refactor menu_input.c 2015-09-24 13:22:46 +02:00
twinaphex
1fc97df819 Revert "Add action_type to menu_displaylist_push_list"
This reverts commit b7d0f45109.
2015-09-21 21:32:23 +02:00
twinaphex
b7d0f45109 Add action_type to menu_displaylist_push_list 2015-09-21 21:11:37 +02:00
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex
bbe210f7eb C89_BUILD fixes 2015-09-06 23:43:27 +02:00
Twinaphex
3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex
8fc96b52a3 refactor cheats.c 2015-09-06 03:51:08 +02:00
twinaphex
8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex
028e07e3e0 Refactor menu_navigation_get_current_selection 2015-09-06 01:58:00 +02:00
twinaphex
9a95f98283 Turn menu_list_pop into static function 2015-09-05 00:50:17 +02:00
twinaphex
3f978b2b1e Cleanup 2015-08-18 03:12:17 +02:00
twinaphex
1669d8b3e5 (Menu) Cleanup 2015-08-18 03:07:23 +02:00
Jean-André Santoni
e8c508d33f (GLUI) Stop scrolling on tap start, instead of tap end 2015-08-17 20:28:54 +02:00
twinaphex
4f1bb7b9b6 Not sure what perform_action was doing here 2015-08-17 15:44:57 +02:00
twinaphex
1c38e9ae05 Don't call menu_driver_render from menu_input.c 2015-08-17 06:40:28 +02:00
twinaphex
032abfffd4 Call menu_driver_render_messagebox from one place only 2015-08-17 06:31:39 +02:00
Jean-André Santoni
e8c5865798 (GLUI) Stop scroll on tap 2015-08-17 03:16:34 +02:00
Twinaphex
dd7cc401f6 Remove unused variables 2015-08-16 17:43:53 +02:00
twinaphex
8a173035c9 (menu_input.c) Always use MENU_ACTION_SELECT now for mouse presses 2015-08-16 17:41:39 +02:00
twinaphex
93ed2d60da Reimplement mouse input code - triggers 'select' callback 2015-08-16 02:10:16 +02:00
Twinaphex
8a56d6d67d Remove unused variables 2015-07-27 17:24:25 +02:00
radius
44feeabace this should fix controller indexes changing after binding 2015-07-26 18:35:13 -05:00
radius
829cd27cf1 poll the selected device index instead of the user number 2015-07-26 18:25:02 -05:00
radius
5e6784ff7f make sure only the selected device is polled on the bind all function 2015-07-26 18:01:32 -05:00
twinaphex
cd81a91d30 Revert "(GLUI) No need to double tap more" - Needs more
polishment before we can merge this

This reverts commit 24840c8918.
2015-07-15 06:28:54 +02:00
Jean-André Santoni
24840c8918 (GLUI) No need to double tap more 2015-07-15 03:39:23 +02:00
twinaphex
8b791c64a1 (kivutar) Add inertia 2015-07-15 03:04:44 +02:00
twinaphex
f8bf5d1827 (kivutar) Somewhat better touch support 2015-07-15 02:41:10 +02:00
twinaphex
1f01d62386 (Menu) Refactor zip file handling to be list-based 2015-07-14 12:49:54 +02:00
twinaphex
33b7388a9e (menu_input.c) Remove unused variables 2015-07-12 08:15:29 +02:00
twinaphex
135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex
2dbc3c4b56 (Overlays) Cleanups 2015-07-12 07:12:33 +02:00
twinaphex
599ed62849 (Overlay) Refactor some more code 2015-07-12 07:03:39 +02:00
twinaphex
cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex
49e35a5bcf ToadKing's 'cooldown' hack causes too many problems - try
different way of guarding against button A/B reacting too
quickly
2015-07-06 00:49:24 +02:00
Toad King
5e6840a9a5 add cooldown on ok/back buttons in menu, fixes weird wii bug with load core menu 2015-07-04 17:22:25 -05:00