Commit Graph

2354 Commits

Author SHA1 Message Date
twinaphex
feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex
aafae944cb Don't memset autoconfig_params_t 2016-12-17 14:26:13 +01:00
twinaphex
2153f3f011 Check if autodetect is enabled at beginning of connect task 2016-12-16 15:18:04 +01:00
twinaphex
209305f944 Connect task now sets PID/VID too 2016-12-16 14:02:11 +01:00
twinaphex
1b0389713d (GX) Buildfix 2016-12-16 13:42:41 +01:00
Twinaphex
db1f3c058a (iohidmanager_hid.c) No longer need to include configuration.h now 2016-12-16 12:36:01 +01:00
twinaphex
d9def056e7 The 'connect' task now sets the device name upon completion 2016-12-16 12:33:56 +01:00
twinaphex
62f5b2d3c3 The disconnect task now clears the device name 2016-12-16 12:20:31 +01:00
Twinaphex
5c522c643c Merge pull request #4254 from danzel/fix-joypad-connection
Fix joypad_connection handling of unknown controllers
2016-12-16 12:15:40 +01:00
Dave Leaver
cd5a5c5fd7 iohidmanager_hid: Remove name from adapters when they are disconnected 2016-12-16 20:17:24 +13:00
Dave Leaver
f7c6574b37 Correctly handle adding controllers if we fail to match them to the known pad_map. 2016-12-16 20:16:55 +13:00
twinaphex
45e841c5c5 Don't include config_file.h inside input_config.h 2016-12-15 11:17:48 +01:00
Twinaphex
4964791cde Revert "changed input binding order" 2016-12-11 19:00:03 +01:00
Patrick Scheurenbrand
d40a0e2f3a changed input binding order 2016-12-11 13:03:02 +01:00
twinaphex
15c63c3de9 (input_driver.c) Cleanups 2016-12-11 09:13:24 +01:00
twinaphex
d2bd6677bd (udev_joypad.c) Cleanup 2016-12-11 08:48:25 +01:00
twinaphex
e9f853ba93 Move (joykey == NO_BTN ) to input_joypad_driver 2016-12-11 08:44:55 +01:00
twinaphex
37559c6f5f Cleanups 2016-12-11 08:31:55 +01:00
twinaphex
423578d972 (Joypad drivers) Simplify hat code 2016-12-11 07:28:33 +01:00
twinaphex
b087a7441a Fix game focus toggle 2016-12-11 03:52:08 +01:00
twinaphex
e32d93d886 Remove functions 2016-12-07 08:14:04 +01:00
twinaphex
04a3c3f15e Remove unused function input_driver_unset_flushing_input 2016-12-07 08:11:59 +01:00
twinaphex
dc7549434f Add headers 2016-12-07 08:10:02 +01:00
twinaphex
a12d0d082d Move input_translate_coord_viewport to video_driver.c 2016-12-07 08:07:11 +01:00
twinaphex
7327e98c8a Add HAVE_XINPUT ifdef 2016-12-07 07:08:27 +01:00
twinaphex
d04309fc05 Buildfix 2016-12-07 06:16:12 +01:00
twinaphex
31a7f64f2c Cleanups 2016-12-07 05:41:08 +01:00
twinaphex
f6dcfd21cf (MSVC) MSVC build fixes 2016-12-07 05:39:27 +01:00
twinaphex
e3620278a8 Add HAVE_MENU ifdefs for menu code 2016-12-07 03:16:34 +01:00
twinaphex
4b1c24adf9 - Move input flushing hack to input_keys_pressed functions
- Move menu binding state hack to menu_input_keys_pressed
2016-12-06 20:50:29 +01:00
twinaphex
77df0ef3ae Rebase input_key_pressed/input_menu_keys_pressed 2016-12-06 18:12:35 +01:00
Adriano Moura
6b99eeaf88 Implements a hotkey for toggling mouse grabbing, hiding and hotkey blocking. Usefull for playing tyrquake with kb/m. 2016-12-06 03:32:28 -02:00
Adriano Moura
21eb2fd71f Just an attempt at trying to fix x11 keyboard events. Allows you to play tyrquake with a kb on linux. 2016-12-06 03:32:10 -02:00
Adriano Moura
4434bd221a Fixes an issue where mouse is only sampled half the time.
Very obvious when aiming with a mouse like in tyrquake.
2016-12-06 03:31:21 -02:00
twinaphex
b7ea2306af Remove unused input_driver_unset_hotkey_block 2016-12-05 05:40:51 +01:00
twinaphex
ecbfc7fd8a (input_driver.c) Cleanups 2016-12-05 05:34:38 +01:00
twinaphex
2ba311274e Simplify input_translate_coord_viewport 2016-12-05 05:18:36 +01:00
twinaphex
6e28aa30bb Simplifications 2016-12-04 22:23:27 +01:00
twinaphex
a762dbcdfb Simplify input_poll 2016-12-04 22:22:00 +01:00
twinaphex
bbbcc97f57 Simplify input_push_analog_dpad 2016-12-04 22:20:47 +01:00
twinaphex
6cdb823bb4 Turn input_push_analog_dpad into macro 2016-12-04 21:37:47 +01:00
twinaphex
85aa88f665 Simplify input_push_analog_dpad 2016-12-04 21:30:50 +01:00
twinaphex
185925cf3a Update input_pop_analog_pads 2016-12-04 21:08:49 +01:00
twinaphex
c19a6dd018 Turn input_pop_analog_dpad into macro 2016-12-04 20:23:52 +01:00
twinaphex
59c317dc1d Pass pointers to input_push_analog_dpad 2016-12-04 20:20:35 +01:00
twinaphex
0fdb8881cb Pass pointer variables to input_pop_analog_dpad 2016-12-04 20:17:55 +01:00
twinaphex
1c21c001c6 Cleanups 2016-12-04 19:52:52 +01:00
Brad Parker
e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
twinaphex
d36e7700f7 (input_driver.c) Style nits 2016-12-03 06:14:57 +01:00