Commit Graph

382 Commits

Author SHA1 Message Date
twinaphex 828421b46b (Android) Put input event queue on separate thread 2015-04-29 05:43:05 +02:00
twinaphex 5c5e517b68 (Android) Start copying state copy at poll function call 2015-04-29 04:57:24 +02:00
twinaphex cf1d56dbda (Android) Put input state code on android_input_state_t 2015-04-29 04:48:34 +02:00
twinaphex c3bfa72e6f (Android) Start putting input state on separate struct 2015-04-29 04:17:31 +02:00
twinaphex 1a591baaf3 (Android) Cleanups 2015-04-29 03:08:44 +02:00
twinaphex 5df896dfd1 (Android) Rename "android_input" ident to "android" 2015-04-29 02:49:23 +02:00
twinaphex 4cf9227640 (Android) Move all input to android_input.c 2015-04-29 02:48:17 +02:00
twinaphex 71f43f8bf0 (Android) Cleanups 2015-04-29 01:50:58 +02:00
twinaphex 4b63cb54c9 (Android) Input - cleanups 2015-04-21 02:58:12 +02:00
twinaphex f3b76f6748 (Android) Style nit 2015-04-21 02:46:50 +02:00
twinaphex 6630884254 (Emscripten) Simplify input driver's init function 2015-04-19 22:03:51 +02:00
twinaphex 1f7482d833 (Emscripten) Integrate header files into actual drivers 2015-04-19 22:01:56 +02:00
Twinaphex 134289c496 (Apple) Buildfixes 2015-04-19 17:59:45 +02:00
twinaphex 8702141d90 (Cocoa) Start renaming input_apple to input_cocoa 2015-04-19 17:58:15 +02:00
Lioncash da56cb3071 dinput: Return NULL instead of false for dinput_get_joypad_driver 2015-04-15 03:08:57 -04:00
twinaphex 335097f98f (Emscripten) Buildfixes 2015-04-14 22:01:41 +02:00
twinaphex 8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
aliaspider 20b71c89c6 (3DS) implement input correctly. 2015-04-08 21:35:10 +01:00
twinaphex 78e5206e8f (DInput) Buildfix pt. 2 2015-04-08 02:04:02 +02:00
twinaphex ce6401f327 (DInput) Update 2015-04-08 02:02:10 +02:00
twinaphex 8cc8f855e1 (DInput) Split up dinput joypad into separate file 2015-04-08 01:58:09 +02:00
Twinaphex 7f58dedb46 Merge pull request #1588 from aliaspider/master
(3DS) video driver rewrite.
2015-04-05 21:44:23 +02:00
aliaspider 14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex 592e5d9f4a Change HAVE_WINXINPUT to HAVE_XINPUT 2015-04-05 20:54:46 +02:00
twinaphex 0651a925c1 (apple_input.h) Cleanups 2015-04-04 23:27:42 +02:00
twinaphex 5fdaa293fb Rename winxinput_joypad to xinput_joypad 2015-04-03 02:37:10 +02:00
twinaphex e997f9a477 (QNX) Namespace functions 2015-04-03 01:39:13 +02:00
twinaphex ae922a9593 (qnx_input.c) Cleanups 2015-04-03 00:57:54 +02:00
aliaspider c2d3299d4e (3DS) add the ability to open the menu with L+R+Start+Select. 2015-04-02 02:38:49 +01:00
aliaspider 27bd10b21d implement a very basic input driver, will need to be implemented
correctly later.
2015-04-02 02:19:21 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
aliaspider 560c98f3cb (menu) add pointer support (active only for rgui for now) 2015-03-28 22:35:18 +01:00
twinaphex 226c6ff41a Simplify input_autodetect 2015-03-27 16:57:58 +01:00
twinaphex 8223969226 (PSP) Buildfix 2015-03-24 10:30:05 +01:00
twinaphex cda414b27d (Android) Go through input_driver_key_pressed 2015-03-24 08:53:49 +01:00
twinaphex 30a0e99972 (Input) Implement function pointers 'set_rumble' and 'grab_mouse'
always to prevent conditional checks
2015-03-24 07:51:50 +01:00
twinaphex 7243c43cda Create video_driver_focus 2015-03-22 23:40:22 +01:00
twinaphex e3eb9fe9f0 Create video_driver_viewport_info 2015-03-22 21:28:50 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex 5ad9f131ce Updates pt. 5 2015-03-20 22:32:09 +01:00
twinaphex 1e9725a302 (Android) Buildfix 2015-03-18 20:26:55 +01:00
twinaphex 5976da19c4 (Win32) buildfix 2015-03-18 20:23:18 +01:00
Twinaphex 0782cb5168 (Apple) Build fixes 2015-03-18 20:15:40 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
Higor Eurípedes 718ca11a43 Remove warnings during clang++ builds 2015-03-16 14:43:56 -03:00
Higor Eurípedes 7d1b2467da (sdl_input.c) Fix CXX build 2015-03-16 14:01:23 -03:00
twinaphex 80a6673004 Fix some CXX_BUILD errors 2015-03-16 16:57:27 +01:00
twinaphex 84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
Andrés 53265b742d Fix windows build 2015-03-12 22:47:58 -05:00
twinaphex 0b5105433f (Windows) Add MOUSE_HWHEEL support 2015-03-12 13:35:37 +01:00
twinaphex e366a6eaa2 (Mouse) Start adding preliminary horizontal mouse wheel up/down 2015-03-12 05:38:37 +01:00
Alcaro a3759d7ff1 Apparently these are booleans used as int. Fixing. 2015-03-11 15:37:48 +01:00
Alcaro a60a22424e Fix indentation - should be spaces, not tabs. 2015-03-11 14:08:51 +01:00
Alcaro 7bd444f1fa Let's not miss these input notifications if many arrive at once. 2015-03-11 14:06:58 +01:00
Twinaphex fcd7cc958a (Apple) Make apple_pointer_state somewhat more robust 2015-03-11 00:43:07 +01:00
Twinaphex fe747a77d0 (OSX) Add stub scroll wheel 2015-03-11 00:35:51 +01:00
twinaphex 667a461c89 (Windows/Mouse) Wheel works now in normal mode - doesn't work in
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
Jean-André Santoni a26a46d4de (Apple) Fix mouse movements 2015-03-10 18:44:55 +01:00
twinaphex 894076f52d (xdk_xinput_input) Cleanup 2015-03-09 19:00:01 +01:00
twinaphex ec01703098 (Input) Cleanups 2015-03-09 18:58:09 +01:00
twinaphex 509e2e2851 (X11 input) Cleanups 2015-03-09 18:55:26 +01:00
twinaphex 74332fbd14 (GLX) Implement mouse wheel up/down for GLX context driver 2015-03-09 17:44:19 +01:00
twinaphex 0ab0fdf709 (Menu) Implement wheel up/down - will need kivutar to implement this
better
2015-03-09 16:36:49 +01:00
twinaphex b93b9d8b58 (udev) Implement wheel up/wheel down 2015-03-09 16:23:22 +01:00
Googer 03b4ace443 (Android) Fix pad input detection for pre-KitKat.
Also update getting system properties to use getprop command instead of
__system_property_get.  Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
Higor Eurípedes f8e4fa25bb (griffin) Fix udev drivers build 2015-02-20 23:35:39 -03:00
twinaphex 87edea6bd9 (MSVC) Build fixes 2015-02-16 16:51:23 +01:00
twinaphex 31a54223e5 Get rid of useless wrapper function around button presses 2015-02-15 00:42:40 +01:00
twinaphex 64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex 8fca12257a (Apple) Input cleanups 2015-02-11 02:16:33 +01:00
Twinaphex fc21fdbca6 (Apple) Build fixes 2015-01-30 00:02:16 +01:00
twinaphex 0912f05d39 Fix bug 2015-01-29 23:59:46 +01:00
twinaphex ed7da3f632 Get rid of last param to keyboard_input_event 2015-01-29 23:12:42 +01:00
twinaphex f258950bcf Keyboard input overlays can now be used as input device
for keyboard line events
2015-01-29 07:03:20 +01:00
twinaphex 46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex 0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00
twinaphex bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex b9ab7a545d Move psp and gx drivers to gfx/drivers 2015-01-12 06:55:31 +01:00
twinaphex 98f35db95c (PSP) Build fixes and rename sdk_defines.h 2015-01-12 06:51:57 +01:00
Twinaphex 8146514064 (Apple) Build fixes 2015-01-12 06:20:19 +01:00
twinaphex dd7d37d49b Add input/drivers/apple_keycode.h 2015-01-12 06:18:22 +01:00
twinaphex 76ad6cc344 Move input drivers to input/drivers 2015-01-12 06:16:52 +01:00
twinaphex 3bc125b6da move most xkbcommon code to keyboard_event_xkb.c 2015-11-17 07:28:45 +01:00
twinaphex 03b1f36af1 Move linux_common to input/common/ 2015-11-17 06:46:32 +01:00
twinaphex 30d0e58bb9 (Apple) Move keymap to input_keymaps.c 2015-11-17 06:25:37 +01:00
twinaphex c3de4ae7c3 cocoa_input.h - remove NUM_HATS too 2015-11-16 06:57:07 +01:00
twinaphex 139a148112 (Apple) hats no longer used 2015-11-16 06:56:29 +01:00
twinaphex 08bb85e509 (OSX) apple->buttons refactored away 2015-11-16 06:46:29 +01:00
twinaphex 2fa91ba26c (IOHIDManager) Make axes code independent from CocoaTouch 2015-11-16 06:32:25 +01:00
twinaphex 3e81b4deef Get rid of a bunch of HAVE_MFI ifdefs 2015-11-16 06:23:07 +01:00
twinaphex 40b22b4d17 Move mfi_buttons state to drivers_joypad/mfi_joypad.m 2015-11-16 04:38:06 +01:00
twinaphex f906814abe mfi_buttons should be only used now from within input/drivers_joypad/mfi_joypad.m 2015-11-16 04:32:04 +01:00
twinaphex 5bdc91c814 Rename mfi_joypad to sec_joypad 2015-11-16 03:57:52 +01:00
twinaphex 1360942283 Buildfixes 2015-11-16 02:42:10 +01:00
Twinaphex 57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
Twinaphex f2f1db12cf Turn into C for now 2015-11-16 01:14:43 +01:00
twinaphex 79886a2768 Convert cocoa_input.c to Obj-C 2015-11-16 01:05:49 +01:00
twinaphex 57771fcf3e Rearrange some code 2015-11-14 22:13:47 +01:00
twinaphex 8005585853 move more code to linux_common.c 2015-11-14 22:07:11 +01:00
twinaphex bfec58154e Move code to linux_common.c 2015-11-14 22:03:37 +01:00
twinaphex 499c989df0 dinput.c - buildfixes 2015-11-14 21:58:19 +01:00
Arche-san 3b558775dc Merge branch 'master' into osx-xbox360-gamepad-right-stick-support
Conflicts:
	input/drivers/cocoa_input.h
2015-11-14 18:08:53 +01:00
Arche-san c47254e64b os x : add right stick support for xbox 360 gamepad (and others hid gamepad with 6 axes instead of 4) 2015-11-14 18:04:07 +01:00
twinaphex 465a608a56 More cleanups 2015-11-14 09:04:01 +01:00
twinaphex 49dad39bf4 (udev) Reuse linux_common code 2015-11-14 09:01:41 +01:00
twinaphex d59215a678 Add linux_common.c 2015-11-14 08:50:10 +01:00
twinaphex 81b741e359 Move SDL keymap to input_keymaps.c 2015-11-14 08:28:59 +01:00
twinaphex 33292634ec Move dinput keymap to input_keymaps.c 2015-11-14 08:21:42 +01:00
twinaphex 06c65e2829 (X11) Move keybind map to input_keymaps.c 2015-11-14 08:14:18 +01:00
Twinaphex 6847501e99 Revert "iCade codepaths work now for regular OSX too"
This reverts commit d72090f5e9.
2015-11-14 02:08:59 +01:00
Twinaphex d72090f5e9 iCade codepaths work now for regular OSX too 2015-11-14 01:48:16 +01:00
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 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 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 08a343fbd0 More iOS ifdefs 2015-11-12 06:15:28 +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 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 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 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 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +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 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 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
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex 73d599dc83 Should compile now with MISSING_DECLS = 1 2015-09-06 15:13:12 +02:00
twinaphex 4d8b125c4f Cleanups 2015-09-05 20:40:11 +02:00
Sergi Granell 96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02: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 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 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 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 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02: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 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
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
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