twinaphex
b06d08a32e
Remove some references to driver->input_data
2015-11-28 18:33:59 +01:00
twinaphex
c23846c5dc
Merged input_joypad.c and input_joypad_driver.c
2015-11-28 16:22:49 +01:00
twinaphex
1df5d44bdb
Rename input/keyboard_line
2015-11-28 16:13:16 +01:00
twinaphex
a6ccc188a8
Rename input_common.c to input_config.c
2015-11-28 02:22:58 +01:00
twinaphex
a8d868f187
(Android) Implement 'focused' callback for androidegl_ctx
2015-11-27 20:38:29 +01:00
twinaphex
a1ecc5eee3
(Android) Some cleanups in engine_handle_cmd
2015-11-27 18:27:30 +01:00
twinaphex
daeb8cacaf
Set idle when APP_CMD_LOST_FOCUS
2015-11-27 00:23:47 +01:00
twinaphex
a3e52a9369
Put M_PI inside retro_miscellaneous.h
2015-11-24 00:05:37 +01:00
Alcaro
7b66b65823
Add some error messages if the null drivers are used.
2015-11-23 19:42:46 +01:00
twinaphex
389cf13db5
Don't reference driver->video_data outside of gx/video_driver.c anymore
2015-11-23 18:51:04 +01:00
twinaphex
60fec26bcf
(sdl_input.c) Use video_driver_get_ident
2015-11-23 14:57:24 +01:00
twinaphex
9b41061143
Rename driver->video
2015-11-23 14:14:12 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
806c124eae
Merge video_viewport.c and video_driver.c
2015-11-21 13:01:23 +01:00
twinaphex
5cea9e5400
Add RARCH_DISPLAY_CTL_IS_FOCUSED
2015-11-20 15:24:24 +01:00
Twinaphex
e27d533fcd
(iOS/Cocoa) Try this - prefer MFi analog value over BTStack one
2015-11-18 05:37:41 +01:00
Alwin Garside
e5b0a5858a
Fix rwebinput driver
...
input/drivers/rwebinput_input.c:
- rwebinput_key_pressed() was defined twice. Not sure why, but removed the first instance of it.
- in rwebinput_input_state() the device was hardcoded to INPUT_DEVICE_TYPE_NONE which would result in it always returning 0
2015-11-18 02:45:41 +01:00
Alwin Garside
83d63fcdd1
Merge remote-tracking branch 'libretro/master'
2015-11-18 02:12:47 +01:00
Alwin Garside
58748da89d
Emscripten related fixes.
...
- audio/audio_dsp_filter.c: append_plugs() should only be called if HAVE_DYLIB
- emscripten/library_rwebaudio.js: Performance improvements, and fallback support for browsers that don't support the Performance API. (e.g. mobile Safari)
- emscripten/library_rwebinput.js: Improve mouse handling. Still not optimal, but works with browsers that don't support mouse capturing.
- frontend/drivers/platform_emscripten.c: Added global function for easy access to certain RetroArch features from JavaScript.
- gfx/video_driver.h: Disabling HAVE_MENU incorrectly disabled set_texture_enable()
- input/drivers/rwebinput_input.c: Missing header file: "../input_joypad.h".
- Makefile.emscripten: Cleanup and make sure the appropriate functions are exported.
2015-07-17 12:46:08 +02:00
twinaphex
450c665619
Create meta_key_pressed
2015-07-17 03:31:51 +02:00
twinaphex
a2af5252c1
Get rid of input_driver_key_pressed
2015-07-17 03:09:12 +02:00
twinaphex
f5566cbe3b
Cleanup warnings
2015-07-16 10:11:28 +02:00
fr500
ca682d38eb
better shield portable hack
2015-07-16 03:22:28 -04:00
twinaphex
56f273b0b5
Put in the Nvidia Shield hack back in for Shield Portable
...
explicitly
2015-07-15 06:26:32 +02:00
Twinaphex
1ff9f89e7d
Merge pull request #1952 from fr500/master
...
Proposals
2015-07-12 21:13:01 +02:00
radius
6f9467817e
Shield Fix
2015-07-12 13:56:34 -05:00
twinaphex
7fb1265227
(PSP/CTR) Should fix lifecycle state menu toggling
2015-07-12 10:46:20 +02:00
twinaphex
23348f41ac
(GX) Menu button toggle should work again
2015-07-12 10:41:49 +02:00
twinaphex
2a881d64be
Name some functions the same across drivers
2015-07-12 08:51:13 +02:00
twinaphex
fbc504acfe
Turn one C++ comment into C
2015-07-12 08:46:41 +02:00
twinaphex
32b3aa6b00
(Cocoa) cocoa_input.c - Simplifications
2015-07-12 08:45:12 +02:00
twinaphex
c2c9ace028
Input driver's 'input_key_pressed' implementation does not
...
have to query for overlay state - this is done in an upper-level
function already
2015-07-12 08:39:34 +02:00
twinaphex
135ee2f503
Use UINT64_C(1) everywhere instead of 1ULL
2015-07-12 07:53:46 +02:00
twinaphex
c9814c9b12
(Overlay) Don't expose input overlay handle to outside
2015-07-12 07:22:52 +02:00
twinaphex
af752ba24b
(PS3) ps3_input.c - cleanup
2015-07-12 02:55:29 +02:00
twinaphex
9e61a5ebf4
(udev_input.c) Cleanup add_device
2015-07-12 02:44:53 +02:00
twinaphex
0107be2485
(GX) Refactor controls
2015-07-12 01:58:43 +02:00
twinaphex
2bdce53651
(PSP) Refactor input code
2015-07-12 01:55:51 +02:00
twinaphex
69a406809e
(CTR) Refactor code
2015-07-12 01:53:32 +02:00
twinaphex
6f99b4d381
(Android) Implement 'Back As Menu Toggle Enable' setting
2015-07-11 03:13:38 +02:00
twinaphex
f50751909c
(QNX) Don't depend on global state for input driver
2015-07-10 18:52:23 +02:00
twinaphex
2eab572773
(CTR) Don't depend on global state in input driver
2015-07-10 18:51:04 +02:00
twinaphex
2698d4622a
(PSP) Don't depend on global state in input driver
2015-07-10 18:47:56 +02:00
twinaphex
25ffeb1ed9
(Xenon) Don't depend on global state in input driver
2015-07-10 18:45:22 +02:00
twinaphex
e2d510e4f6
(GX) No longer depend on global pointer in input driver
2015-07-10 18:44:11 +02:00
twinaphex
8fc5c85589
Move keymaps to input drivers
2015-07-10 09:55:29 +02:00
twinaphex
e99a23a5e2
(Android) More cleanups
2015-07-10 00:36:46 +02:00
twinaphex
dc96b4820f
(Android) Cleanup android_input.c
2015-07-10 00:27:05 +02:00
twinaphex
ab604524dc
(Android) Get rid of some more hardcoded stuff
2015-07-09 21:39:47 +02:00
twinaphex
8c1a918899
(Android) Cleanup
2015-07-09 18:11:53 +02:00
twinaphex
63c7104ab1
(Android) android_input.c - cleanups
2015-07-09 18:09:45 +02:00
twinaphex
d104a878f1
(Android) Code cleanups
2015-07-09 17:55:52 +02:00
twinaphex
abf7a80f27
(Android) Buildfixes and remove unused variable warnings
2015-07-09 07:48:56 +02:00
twinaphex
954121b99c
Kill off some console-only hacks to do with lifecycle state
2015-07-09 06:35:18 +02:00
Toad King
26b4dc79d0
[Android] clear bindings on context reset, they end up getting rebound anyway
...
bump version
2015-07-02 23:06:53 -05:00
Toad King
d0866995bd
set back button to menu toggle if not set through autoconf
2015-07-02 21:48:06 -05:00
David Shah
c2d26cfb23
Fix input on KitKat for S7800B and other devices with a VID or PID of 0
2015-07-02 14:28:38 +01:00
twinaphex
96c119bb1d
Move retroarch_logger.h to libretro-common/include
2015-06-30 00:38:10 +02:00
Alcaro
4ca6c2398c
More C89 cleanups, part 3
2015-06-26 18:35:52 +02:00
Alcaro
1bbd54f597
Some C89 strict fixes
2015-06-26 17:03:12 +02:00
twinaphex
aa6cdf5d5a
Put extern "C" around cocoa_keyboard_event
2015-06-26 16:32:30 +02:00
twinaphex
a132fa0fba
Some C89 build fixes
2015-06-26 15:53:18 +02:00
twinaphex
0fa871a296
Use rarch_system_info_get_ptr
2015-06-25 13:46:32 +02:00
twinaphex
6ee5029bb0
(android_input.c) Use rarch_system_info_get_ptr
2015-06-25 13:20:53 +02:00
twinaphex
bdb3cd9b1c
(GX) Build fix
2015-06-22 08:01:13 +02:00
Higor Eurípedes
e6ea0319c7
(linuxraw) Fix boolean return in void function
2015-06-21 19:50:58 -03:00
Toad King
8929887f25
allow closing text input windows with cancel button
2015-06-18 21:37:54 -05:00
Twinaphex
55eaff9793
(Menu) Cleanups
2015-06-19 03:46:54 +02:00
twinaphex
0e046c2fbb
Create input_driver_keyboard_mapping_is_blocked/input_driver_keyboard_mapping_set_block
2015-06-19 03:45:23 +02:00
twinaphex
ad5954862b
Cleanup some strcmps
2015-06-14 19:42:25 +02:00
twinaphex
ca4b8385fe
(udev_input.c) Include <unistd.h>
2015-06-13 19:16:42 +02:00
twinaphex
daf4f5719b
(Input) Cleanups
2015-06-13 00:02:28 +02:00
twinaphex
6acdd3db05
(linuxraw_input.c) Add unistd.h header
2015-06-08 11:57:07 +02:00
twinaphex
c7e0163450
(PS3) Buildfix
2015-06-08 00:32:21 +02:00
twinaphex
2b10519fb8
(linuxraw_input.c) Style nits
2015-06-03 21:38:27 +02:00
twinaphex
77ba9c650f
(udev) Use {{0}} for initialization
2015-06-03 21:29:08 +02:00
twinaphex
660641f328
Pass handle to input driver to joypad driver's init function
2015-06-03 18:22:54 +02:00
twinaphex
bafda714a1
(Input drivers) Cleanups
2015-06-03 18:12:06 +02:00
twinaphex
17ca5a074c
(udev_input.c) Cleanups
2015-06-03 17:11:32 +02:00
twinaphex
1532f35376
(udev_input.c) Cleanups
2015-06-03 17:06:22 +02:00
twinaphex
3a7263020a
Add grab_stdin function pointer to input driver - avoids threading
...
segfault at exit with linuxraw input driver to do with driver->stdin_claimed
2015-05-19 19:33:58 +02:00
twinaphex
d662ac187d
(linuxraw_input.c) Cleanup some function names
2015-05-19 19:26:20 +02:00
twinaphex
7242693e69
(Android) Go back to old input code
2015-05-09 09:38:45 +02:00
twinaphex
4a7fbf728a
(Android) Put AInputQueue_hasEvents while loop back
2015-05-02 07:59:06 +02:00
twinaphex
ff6babc22a
(Android) Start using android_main_poll
2015-05-02 07:06:57 +02:00
twinaphex
5b733c019a
(Android) Only copy over state when needed
2015-05-02 04:41:18 +02:00
twinaphex
9a1c90a554
(Android) android_run_events - change signature
2015-05-02 03:52:28 +02:00
twinaphex
ec319a2c76
(Android) Start preparing engine_handle_input and engine_handle_cmd for
...
input sources
2015-05-02 02:13:16 +02:00
twinaphex
78fcd0312f
(Android) Change signature of android_main_poll
2015-05-02 01:05:21 +02:00
twinaphex
2f08c143ec
(Android) Cleanups
2015-05-02 00:43:24 +02:00
twinaphex
fe5d4e34ab
(Android) Native app glue - use pthread again
2015-05-02 00:13:28 +02:00
twinaphex
5a2c6aa5d6
(Android) Create android_app_read_cmd
2015-05-01 23:59:23 +02:00
twinaphex
2cc348a75b
(Android) Create android_app_userdata
2015-05-01 20:21:52 +02:00
twinaphex
00bf83e575
(Android) Minor cleanups
2015-05-01 18:24:06 +02:00
twinaphex
349a5890e4
(Android) Set lookup name function pointer at the beginning of the app's
...
start
2015-05-01 18:20:52 +02:00
twinaphex
8ec5db66cf
(Android) Move state around
2015-05-01 18:11:34 +02:00
twinaphex
5e5453488f
(Android) Move thread state to android_app
2015-05-01 17:25:26 +02:00
Twinaphex
561ae13146
(Android) Cleanups to handle_hotplug
2015-04-29 07:58:19 +02:00
twinaphex
63cc866425
(Android) Don't use AInputQueue_hasEvents - seems to make it more reliable
...
and less susceptible to ANRs
2015-04-29 06:21:18 +02:00
twinaphex
4b289e361d
Revert "(Android) Put input event queue on separate thread"
...
This reverts commit 828421b46b
.
2015-04-29 05:59:40 +02:00
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