Commit Graph

4404 Commits

Author SHA1 Message Date
Twinaphex 1b05556b06 remove some unused variables 2015-11-13 21:44:08 +01:00
twinaphex e0b5925c24 Remove now unused icade code 2015-11-13 21:42:58 +01:00
twinaphex 8e373af966 (iPega) Should fix X button 2015-11-13 21:28:13 +01:00
twinaphex fc097f47e8 (iPega PG-9017) Hook up X button 2015-11-13 21:25:43 +01:00
twinaphex f30f2713bf (iCade) Add 8-bitty configuration 2015-11-13 21:15:40 +01:00
twinaphex b5d4aeb5da (keyboard_event_apple.c) Style nits 2015-11-13 20:04:44 +01:00
Twinaphex 5b7f58bec5 (iOS) Rewrite iCade code entirely - start out with iPega PG9017 profile 2015-11-13 20:03:14 +01:00
Twinaphex 8ebad97fbd Revert "Add iCade code to cocoa_input_is_pressed"
This reverts commit 536754d6f2.
2015-11-13 02:46:01 +01:00
twinaphex 536754d6f2 Add iCade code to cocoa_input_is_pressed 2015-11-13 02:42:46 +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 08a343fbd0 More iOS ifdefs 2015-11-12 06:15:28 +01:00
twinaphex 9e0a86e446 Start ifdeffing some of the icade/small keyboard code for iOS 2015-11-12 06:13:39 +01:00
twinaphex 1da727cd54 convert keyboard_event_win32 to C++ 2015-11-11 20:23:19 +01:00
twinaphex 1b7576aa64 Kill off IS_JOYCONFIG 2015-11-11 20:15:27 +01:00
twinaphex 53c0e57d6d (Android) Buildfix 2015-11-07 21:13:11 +01:00
twinaphex 1c07ae1e5a (DInput) Buildfix 2015-11-07 21:12:39 +01:00
twinaphex 22f85b11df Don't need this anymore 2015-11-07 20:59:12 +01:00
twinaphex e2ced6bd6a Don't need this additional code anymore 2015-11-07 20:47:29 +01:00
twinaphex 9bb87f276c Use just one label descriptor setting 2015-11-07 16:11:30 +01:00
Twinaphex 9a4adece0f Merge pull request #2315 from gizmo98/analog-dpad-sanity-check
input: add sanity check for analog dpad mode
2015-10-30 08:02:50 +01:00
radius 210ec0c23b add sanity check 2015-10-30 01:28:01 -05:00
Stefan a4faa857c0 input: add sanity check for analog dpad mode
Don't remap dpad joyaxis if analog joyaxis values are not valid. Joyaxis values are not valid if up and down or left and right are equal.

-Fix for https://github.com/libretro/RetroArch/issues/1780. If no analog left or right is configured (retroarch.cfg, autoconf) default analog joyaxis values are "-1".
-Make this wish https://github.com/libretro/RetroArch/issues/609 obsolete.
2015-10-30 07:25:43 +01:00
twinaphex eb33e83eff Some more non-HAVE_MENU buildfixes 2015-10-28 08:02:39 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex dc01514db1 Finished with code de-duplication 2015-10-26 18:41:13 +01:00
twinaphex f6ed72b21c More code deduplication 2015-10-26 18:33:51 +01:00
twinaphex 8b978bc674 More code de-duplication 2015-10-26 09:06:11 +01:00
twinaphex 0116ea5ba5 More code deduplication 2015-10-26 08:59:23 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 6ac88eed54 Cleanups 2015-10-23 08:34:15 +02:00
twinaphex 90cb9c5157 (udev_input.c) Cleanup 2015-10-23 08:22:59 +02:00
twinaphex 5b55b35210 (Dinput) Another buildfix 2015-10-23 07:55:56 +02:00
twinaphex e99fda4d1f (DirectInput) Buildfix 2015-10-23 07:51:45 +02:00
twinaphex 6512e95945 Pass device input mask to menu_input_frame 2015-10-22 19:34:25 +02:00
twinaphex 1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex 7ea16f622e (XMB) Create custom Main Menu list 2015-10-22 04:46:05 +02:00
Twinaphex 6141f00f70 (OSX) Some C89_BUILD fixes 2015-10-12 21:02:07 +02:00
twinaphex d2a5172ddf (x11_input.c) Remove forward declaration 2015-10-10 10:38:22 +02:00
twinaphex 8fc33b386b (udev) Start adding RETRO_DEVICE_POINTER / RETRO_DEVICE_POINTER_SCREEN -
untested
2015-10-10 10:35:45 +02:00
Twinaphex 39189047b4 Use RARCH_DEVICE_MOUSE_SCREEN by default now for Zarch, start
setting up cocoa_input.c
2015-10-08 21:04:27 +02:00
twinaphex 704968adca (Dinput) Add RARCH_DEVICE_MOUSE_SCREEN 2015-10-08 10:16:28 +02:00
twinaphex 666c6849b7 (X11) Add preliminary stab at RARCH_DEVICE_MOUSE_SCREEN 2015-10-08 09:52:31 +02:00
twinaphex 20b8d592e1 Create RARCH_DEVICE_MOUSE_SCREEN 2015-10-08 08:19:38 +02:00
twinaphex 303fd1daed (DirectInput) Take out excessive logging 2015-10-05 11:08:41 +02:00
twinaphex 7755277b87 (DirectInput) Following system mouse cursor in windowed mode 2015-10-05 11:06:42 +02:00
Twinaphex 9bd302b4ec (iohidmanager) Buildfix 2015-10-02 18:24:33 +02:00
aliaspider a55bbfc04a (CTR/3DS) input: fix analog joypad polling. 2015-10-01 23:56:22 +01:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
Twinaphex 1974a3051d Merge pull request #2185 from aliaspider/master
(CTR/3DS) implement right stick analogue polling.
2015-09-29 02:38:14 +02:00
aliaspider 4a4dd8e625 (CTR/3DS) implement right stick analogue polling. 2015-09-28 23:57:05 +01:00
twinaphex 02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex 790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +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 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex d482dba2eb More static code analysis fixes 2015-09-28 16:57:22 +02:00
Twinaphex b1f6c88626 Merge pull request #2177 from aliaspider/master
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
aliaspider ca000f64db (CTR/3DS) add support for new 3ds extra buttons/right stick, not tested.
no analogue support for the right stick.
2015-09-28 14:53:38 +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 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex 8a6333ddc1 Move defines around 2015-09-24 21:23:16 +02:00
twinaphex 61a40be54d Remove USB_Initialize/USB_Deinitialize from wiiusb_hid.c 2015-09-24 00:09:59 +02:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex 919220751c (PSP) Move files around 2015-09-20 15:33:54 +02:00
twinaphex c11b08ed91 (Android) Buildfix 2015-09-16 05:46:03 +02:00
Twinaphex 6c6a293388 (MFi) Build fixes 2015-09-16 03:40:16 +02:00
twinaphex 346f44a7da (MFI) Start adding own button state 2015-09-16 03:29:38 +02:00
twinaphex 54ad123b06 Simplify apple_gamecontroller_available 2015-09-16 02:50:22 +02:00
twinaphex 8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
Alcaro fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
twinaphex 73d599dc83 Should compile now with MISSING_DECLS = 1 2015-09-06 15:13:12 +02:00
twinaphex 875023468a Some more MISSING_DECLS buildfixes 2015-09-06 14:59:20 +02:00
twinaphex 9d6146dc7a Some more MISSING_DECLS fixes 2015-09-06 14:55:42 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex 0b098b9301 input_overlay.h - cleanup 2015-09-06 03:25:57 +02:00
twinaphex e654c5cb65 Header cleanups 2015-09-05 20:53:56 +02:00
twinaphex 38d099654e Cleanups 2015-09-05 20:49:57 +02:00
twinaphex 4d8b125c4f Cleanups 2015-09-05 20:40:11 +02:00
twinaphex e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
twinaphex 43632b95ff More warning cleanups 2015-09-05 14:34:33 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex 3e977034a7 (Win32) More buildfixes 2015-09-05 14:10:16 +02:00
twinaphex 137e397028 Include wiiusb_hid only for HW_RVL 2015-09-05 01:21:39 +02:00
twinaphex ded8920a65 Cleanups 2015-09-04 21:13:12 +02:00
twinaphex bc6692e567 (wiiusb_hid.c) Remove goto error 2015-09-01 18:53:35 +02:00
twinaphex d5d498df5f (wiiusb_hid.c) Remove problematic line 2015-09-01 18:44:25 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex 948286e8e0 Fix warnings 2015-09-01 01:54:44 +02:00
Sergi Granell 96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
CautiousAlbino 173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
CautiousAlbino c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex cd781ff4b5 Cleanups 2015-08-30 15:15:39 +02:00
twinaphex 202ffaee3b (wiiusb_hid.c) Don't call remove_adapter from remove_notify 2015-08-30 12:44:29 +02:00
twinaphex f95049e99c Add wiiusb_hid driver courtesy of @xerpi 2015-08-30 09:48:38 +02:00
twinaphex 24a94490ab Remove some header includes 2015-08-30 09:36:50 +02:00
twinaphex 195aba50b2 Try to avoid some symbol conflicts 2015-08-29 14:20:39 +02:00
radius 4f23188309 [input autoconf] improve logging 2015-08-27 21:35:05 -05:00
twinaphex fc25e9310f (Emscripten) remove unused uninited 2015-08-20 00:59:25 +02:00
twinaphex 9fd17a196f Buildfixes 2015-08-20 00:49:44 +02:00
twinaphex 16da8cfe2d (Emscripten) rwebinput_input.c - buildfixes 2015-08-20 00:37:16 +02:00
Radius 638db98e7d fix the back as menu toggle option, autoconf was returning false even when a controller was succesfully configured... 2015-08-13 03:14:53 +01:00
Radius cc3b1fd49f minor fixes to the workaround 2015-08-13 02:06:15 +01:00
Radius f6e25655c9 reimplement the shield controller workarounds 2015-08-13 01:13:24 +01:00
Radius 57419bea8c remove the generic I/O hack, it's not working reliably 2015-08-12 20:17:19 +01:00
Alcaro ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex ff3e791d72 (Vita) Compile in input and joypad drivers 2015-08-10 23:19:07 +02:00
twinaphex 77aa7535c9 MOve all 'define' headers to central place ' defines' 2015-08-10 23:11:40 +02:00
twinaphex 08260878ea Start adding some Vita ifdefs 2015-08-10 23:04:09 +02:00
radius 12dcc5ae0a fix typo 2015-08-09 11:51:18 -05:00
radius 55e5dc83dc print an OSD message when no profiles found 2015-08-09 11:47:42 -05:00
radius 1818633914 log vid/pid on android 2015-08-09 11:46:40 -05:00
radius d52ab85b60 remove comment 2015-08-07 13:52:05 -05:00
radius a5c70560a3 remove the shield portable hack, it's not needed anymore 2015-08-07 13:51:19 -05:00
radius c8671139e8 fix 2015-08-07 02:17:25 -05:00
radius bae6dd7c79 better all around hack for GPIO devices 2015-08-07 01:59:50 -05:00
radius 1edd7af424 better all around hack for GPIO devices 2015-08-07 01:53:35 -05:00
radius 786424b064 Shield Console hack 2015-08-07 01:50:02 -05:00
twinaphex a1a15164b8 Get rid of input_overlay_get_ptr 2015-08-06 05:14:12 +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 30a39d6d88 Get rid of warnings 2015-08-03 20:17:03 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
Twinaphex d22bec3b3b Merge pull request #2022 from fr500/master
Allow binding remotes and P1 on the same port
2015-08-01 08:29:28 +02:00
radius 916190e683 cleaner approach to reduce OSD spam 2015-08-01 00:07:28 -05:00
radius 801ad5c4ff reduce OSD spam 2015-07-31 23:49:38 -05:00
radius 6fbfc27a1f reduce OSD spam 2015-07-31 23:40:30 -05:00
radius 028b28bf6b remove bogus messages that I shouldn't have commited 2015-07-31 23:19:57 -05:00
radius 65081a0f9d reduce OSD spam 2015-07-31 23:09:25 -05:00
radius 4097f97131 add hack for remote type devices 2015-07-31 22:37:22 -05:00
twinaphex 1489839384 (OSX) Add HAVE_COCOA and HAVE_COCOATOUCH ifdefs to iohidmanager_hid.c 2015-08-01 05:19:44 +02:00
Jean-André Santoni c6481b1930 Fix autoconfig saving for udev 2015-07-30 00:25:09 +02:00
slotek 7431529e89 Restore generic Mac OS X joypad functionality 2015-07-29 10:12:31 -06:00
twinaphex 4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
fr500 1af5943ca2 fix double inputs with akeycode_back when gamepads are mapped and pointer is enabled 2015-07-25 02:39:17 -04:00
fr500 6dc06885fb no need to name the device like the Shield controller, this will reduce OSD spam when hitting back 2015-07-25 02:04:00 -04:00
fr500 61c1a164fa Revert "improve the shield hack and add a generic function to check if a gamepad name is present, implement archos gamepad hack"
This reverts commit 1dc285a0d6.
2015-07-25 01:27:56 -04:00
Toad King 45e9055a63 don't uninitialize usb during libsicksaxis shutdown, fixes USB devices crashing on load 2015-07-23 19:06:21 -05:00
fr500 1dc285a0d6 improve the shield hack and add a generic function to check if a gamepad name is present, implement archos gamepad hack 2015-07-23 00:38:59 -04:00
fr500 8e7cccb92d fix autoconfig, it was matching the last profile when no match was found 2015-07-23 00:38:31 -04:00
radius 766b6b811e [android] expose vid/pid to the frontend so the value can be saved to autoconf files 2015-07-22 00:22:57 -05:00