Commit Graph

166 Commits

Author SHA1 Message Date
twinaphex
1b7576aa64 Kill off IS_JOYCONFIG 2015-11-11 20:15:27 +01:00
twinaphex
9bb87f276c Use just one label descriptor setting 2015-11-07 16:11:30 +01: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
c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex
ded8920a65 Cleanups 2015-09-04 21:13:12 +02:00
twinaphex
c82ca15c91 (input_common.c) Fix two small leaks 2015-07-09 19:54:46 +02:00
twinaphex
a4d1d91281 (input_common.c) Use fill_pathname_join_delim 2015-06-22 20:40:11 +02:00
twinaphex
40f8fabda6 Consistency in how we treat positive strcmp matches 2015-06-14 19:56:01 +02:00
twinaphex
f85965925c (Input) Cleanups 2015-06-12 23:52:52 +02:00
twinaphex
85c48f0c3d (input_common.c) Remove strings.h 2015-04-06 18:31:48 +02:00
twinaphex
101af7b1c9 (input_common.c) Add <strings.h> 2015-04-06 18:24:35 +02:00
Radius
2f2a86e97f add osk enable hotkey 2015-03-25 22:24:12 -05:00
twinaphex
e3eb9fe9f0 Create video_driver_viewport_info 2015-03-22 21:28:50 +01:00
twinaphex
e996d5d51f Updates 2015-03-20 21:22:38 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
94ca700059 (input_common.c) Fix potential uninitialized variable in input_push_analog_dpad 2015-01-19 04:33:26 +01:00
twinaphex
20d844d15a Refactor input_push_analog_dpad 2015-01-18 20:36:52 +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
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
045a27bdcd (input_common.c) Move declaration of variables to top of function 2015-01-09 23:55:29 +01:00
twinaphex
8fc4db23dc (360) Silence some warnings 2015-01-09 17:48:20 +01:00
twinaphex
957435cbfa Cleanups 2015-01-09 01:08:54 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
82f6c57966 Add new option 'Show Autoconfig Descriptor Labels' for more
comprehensible button labels per joypad - needs to be added per
autoconfig file
2014-12-16 06:21:18 +01:00
CautiousAlbino
cead63c83d Fix nasty breakage when joypad index >= MAX_PLAYERS.
No bounds checking and joypad index is apparently now unsigned so old
"disabled" values in config will now overflow instead ...
2014-12-15 14:10:07 +01:00
twinaphex
57918c0c24 Fix more 'player' variables to 'user' 2014-12-05 13:53:49 +01:00
twinaphex
dd53241a24 Some more cleanups in input_common.c 2014-10-27 04:39:15 +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
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
20f1faa03f (input_common.c) small cleanup 2014-10-25 10:07:04 +02:00
twinaphex
8349ade076 Refactor input_joypad_pressed somewhat 2014-10-25 10:06:40 +02:00
twinaphex
d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
twinaphex
94c3f6a925 Change 'id' variable names to 'ident' 2014-10-21 08:48:58 +02:00
twinaphex
00115d1ebb Backport Lioncash's changes - https://github.com/libretro/RetroArch/pull/1170 2014-10-21 02:28:10 +02:00
twinaphex
faeca01e7a Change local index variables 2014-10-20 20:31:00 +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
b61b6fa84b Move Retrolaunch to separate repo 2014-10-16 07:34:59 +02:00
Twinaphex
fe8f22b688 input_common.c - Get rid of variable shadowing warnings 2014-10-14 18:35:38 +02:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05: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
Mike Robinson
f3a0e58bd9 Add HAVE_PARPORT build option 2014-10-04 22:04:38 +01:00
Twinaphex
a6dabc5b78 (Apple) Build fixes 2014-10-04 15:38:31 +02:00
Mike Robinson
d258775926 Add parallel port joypad driver 2014-10-04 04:18:36 +01:00