Commit Graph

86 Commits

Author SHA1 Message Date
twinaphex
207181135c Create input_driver_keys_pressed 2015-02-15 01:19:06 +01:00
twinaphex
5f611f7270 More documentation for input_common.c 2015-01-12 04:19:57 +01:00
twinaphex
b61ae369f7 (input_keymaps.c) Namespace changes and documentation 2015-01-12 02:52:52 +01:00
twinaphex
89902c3339 Remove unneeded header include in input_common.h 2015-01-11 00:10:32 +01:00
twinaphex
d7f36af446 Move stuff around 2015-01-11 00:07:59 +01:00
twinaphex
75b6ed9545 Some more documentation for input_common.c 2015-01-10 21:17:34 +01:00
twinaphex
b4b81bd740 Split up input_common.c into two files - input_joypad.c and
input_common.c
2015-01-10 20:10:45 +01:00
twinaphex
575678dbb1 Remove unused back_button_enums for Android 2015-01-10 00:09:10 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
738d180816 Change some more instances of 'player' to 'user' 2014-12-05 14:21:04 +01:00
twinaphex
c6cc3b8d90 CXX_BUILD - Fix some undefined reference linker errors 2014-11-29 21:18:45 +01:00
twinaphex
c6ac686e51 Split up input_common.c into input_common.c and input_keymaps.c 2014-10-27 04:27:48 +01:00
twinaphex
0c4de816f9 Dont' have input_common.h include input_autodetect.h 2014-10-26 01:53:13 +02:00
twinaphex
dc0688f57f Reduce header dependencies 2014-10-26 01:15:41 +02:00
twinaphex
a4065ae34d Split off input_context code into separate file 2014-10-25 19:56:40 +02:00
twinaphex
2997af48fa Move config-file code to SDK 2014-10-22 03:35:04 +02:00
twinaphex
94c3f6a925 Change 'id' variable names to 'ident' 2014-10-21 08:48:58 +02:00
twinaphex
dd79cf0b93 (OSX) Change 'index' to 'idx' to avoid declaration of index shadows a global
declaration on OSX 10.6
2014-10-20 03:56:31 +02:00
twinaphex
5fa4723a22 Comment out ununused inline functions for now 2014-10-05 17:02:30 +02:00
twinaphex
2df2346301 Move input_keys_pressed from input_common.c to runloop.c 2014-10-05 02:45:38 +02:00
Twinaphex
a8ef8ff7e4 Merge pull request #1091 from mprobinson/joypad-driver
Joypad driver
2014-10-04 23:42:43 +02:00
twinaphex
f20baeb221 (Apple) Joypad refactor pt. 2 2014-10-04 15:37:09 +02:00
Mike Robinson
d258775926 Add parallel port joypad driver 2014-10-04 04:18:36 +01:00
twinaphex
de2392be89 Move apple_key_map_hidusage over to input_common.c 2014-10-03 15:31:34 +02:00
twinaphex
532938c5fa Refactor meta_input_keys_pressed 2014-10-03 00:55:44 +02:00
twinaphex
d43b9082e7 Move input_autodetect code to input_autodetect.c 2014-09-30 17:48:31 +02:00
Twinaphex
9f5031188b Merge pull request #1066 from CyberShadow/pull-20140930-083313
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 10:40:43 +02:00
Vladimir Panteleev
0c104ffef8 Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate 2014-09-30 08:35:41 +00:00
twinaphex
c8ec8d9a7d Remove unused joy_keys_pressed function now 2014-09-29 21:01:59 +02:00
twinaphex
8b309fbeaa Move clear_bit/get_bit/set_bit to input_common.h 2014-09-28 17:07:44 +02:00
twinaphex
8015061720 Refactor menu_input - add input_keys_pressed in addition to
meta_input_keys_pressed
2014-09-25 04:19:09 +02:00
twinaphex
f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
twinaphex
92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
4a84e0e609 Refactor input_keys_pressed_func 2014-09-17 00:46:16 +02:00
twinaphex
310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
twinaphex
c391249e3f Optimizations -
* reduce amount of calls to input_key_pressed_func all throughout
rarch_main_iterate - call input_keys_pressed_func only once and
then pass an input state value around to all subsequent functions
* define retro_input_t typedef - simply an uint64_t for now since
meta binds don't exceed 64 entries yet
2014-09-16 09:26:08 +02:00
twinaphex
191f0b6383 Move input_key_pressed to input_common.h 2014-09-16 07:02:57 +02:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
e68f62040d Cleanups, 80-char limit 2014-09-02 16:50:28 +02:00
Higor Eurípedes
e38c826fe1 (SDL*) Merge joypad drivers 2014-08-11 19:47:30 -03:00
Higor Eurípedes
46beb117ef (SDL2) Add input driver 2014-08-10 15:00:21 -03:00
twinaphex
b76a2c2cee Refactor away input_joypad_poll - trivial wrapper function 2014-08-03 00:44:07 +02:00
twinaphex
c1501f7ffe (QNX) Start refactoring QNX input driver 2014-06-14 23:07:58 +02:00
twinaphex
31c68a7402 (Android) Input driver - cleanup pt. 1 2014-06-10 21:59:18 +02:00
twinaphex
234edda575 (Apple) Properly implement joypad - now executes init - and
also executes osx_pad_init and osx_pad_quit from joypad driver now
instead of outside code having to call it externally
2014-06-10 03:32:03 +02:00
twinaphex
13c5e4b1ab (GX) Reimplement controls pt. 1 2014-06-09 21:18:22 +02:00
Themaister
9bf32df360 Report autoconfigured binds in RGUI. 2014-06-09 19:23:51 +02:00
twinaphex
a32c29e5ed (PSP) Refactor input autoconf 2014-06-09 18:57:17 +02:00
twinaphex
0e6d99d2de (XDK) Switch to new autoconf system 2014-06-09 18:17:37 +02:00
Themaister
accc24ac8a Properly init ps3 joypad driver. 2014-06-09 16:03:42 +02:00