Commit graph

21 commits

Author SHA1 Message Date
Louai Al-Khanji
26f5a44613 Fix arrow keys 2008-12-07 00:54:54 +00:00
Louai Al-Khanji
46c9894093 More work on fixing input cross-platform 2008-12-06 23:24:56 +00:00
Richard Goedeken
3c0783345b bugfix: DllConfig should not call write_configuration() after calling the configure dialog function, because the configure_sdl() dialog uses an SDL Thread and returns immediately. The dialog thread needs to call write_configuration() if the user clicks OK 2008-11-29 22:47:03 +00:00
Richard Goedeken
69088bbd6a bugfix: sometimes the axis direction would flip in blight_input. if you use sscanf to write a %c field into an int * that has been typecast to char *, you will often get the wrong value later when you read the int 2008-11-29 21:57:07 +00:00
Scott Knauert
77422931e5 Change to standard Zilmar header and proper BUTTONs struct. Fixes license issues in 158. May cause issues with analogue sticks in gamepad (as I can't test that), might also fix OSX bug. Please revert if any problem. 2008-10-12 20:25:12 +00:00
Scott Knauert
dd5df55805 Blight input cleanup, some formatting, mostly to allow compiling with -Wall. 2008-09-25 21:28:48 +00:00
Scott Knauert
0a3b6ebcb1 Commited DarkJeztr's Blight patch for OSX compatibility. Only enable our linux haptics on linux. 2008-08-21 03:16:28 +00:00
Scott Knauert
17dfd4910e Extra comment to blight_input for testing rumble on systems without the necessary hardware. Missing - in LICENSES file. 2008-07-27 04:48:47 +00:00
Richard Goedeken
bcc75adcab small bugfixes in blight_input: 1. only save config file after running config dialog, not every time DLL is closed. 2. If rumble is not available on a controller, don't allow user to switch between rumble and mempack. 3. If rumble is selected in config file but not available on a controller, select mempack instead. 2008-07-22 03:16:56 +00:00
Scott Knauert
2167adb9d1 Minor .ini update. Added rumble debug printf (commented out) to blight so people without rumble controllers can test whether games support it. 2008-07-18 11:28:52 +00:00
John Chadwick
b7ef061dbd Fixes blight input patches.
- No longer needs inversion of the X axis since we now enter axis's seperately
 - Cleaner user entry of seperate axis's (from the user perspective anyway :P)
 - Some fixes
2008-04-29 02:23:03 +00:00
Scott Gorman
e49ba3e8a0 blight_input now lets you bind all four directions on the analog stick using axises versus it used to only allow one axis for up/down, and one for left/right... (it also assumed that +/- was not inverted) 2008-04-28 22:23:35 +00:00
Richard Goedeken
a40cec8e1b Tweaked blight input force feedback code to work on more systems 2008-04-19 12:22:05 +00:00
Richard Goedeken
9f10d202be Reverted all changes on trunk from rev 189. The reason why I made a branch was so that you would not commit these things on the trunk. 2008-04-14 11:29:15 +00:00
John Chadwick
ec8445cc55 Attempt 3 at commiting the patches.
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
2008-04-14 04:37:57 +00:00
Richard Goedeken
b28b426ecb removed commented-out code 2008-04-14 02:03:37 +00:00
Richard Goedeken
9aa6eea11b Improved error logging for rumble feature. Dont allow switching to rumble pak if rumble not enabled 2008-04-14 02:02:26 +00:00
Richard Goedeken
dbb6637e96 Added rumble pak support to blight_input. Tested with logitech rumblepad 2 and starfox 64; works. Requires kernel support (HID force feedback + drivers) and permissions on /dev/input/event* special file. Two new buttons are mapped to insert rumblepak and insert mempak functions. Will only work in Linux 2008-04-09 05:07:46 +00:00
Richard Goedeken
5f32c254fe Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
James Hood
70e49c3269 fixed minor copy/paste bug in blight_input 2008-04-01 21:03:34 +00:00
Richard Goedeken
cf8b8ca208 Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00