twinaphex
3607d03ff8
Get rid of warning on older OSX SDK versions
2021-02-09 16:20:40 +01:00
twinaphex
bf806f09ac
kIOHIDElementTypeInput_NULL is apparently not available on previous OSX SDK versions
2021-02-09 16:14:20 +01:00
Autechre
e282cfe2fe
(IOHIDManager) Fix enumeration value 'kIOHIDElementTypeInput_NULL' ( #11944 )
...
not handled in switch warning
2021-01-26 19:39:36 +01:00
James Montgomerie
f83f706565
Make style of if statment conform to the one already in use in the file/
2020-09-06 18:36:32 -07:00
James Montgomerie
5c58c6969e
Allow controllers with no/empty names to work.
2020-09-06 18:24:32 -07:00
twinaphex
708a029665
(HID) Hardcode 'hid' name for passing to input_autoconfig_connect
2020-08-28 19:01:24 +02:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
454338c4f3
(BTStack) Buildfix
2020-08-15 17:14:27 +02:00
twinaphex
501165af0b
(BTStack) Buildfix attempt two
2020-08-15 02:26:43 +02:00
twinaphex
bf85a658ba
(BTStack) Attempt build fix
2020-08-14 23:46:31 +02:00
twinaphex
ed3ee2511f
Cleanups - add local variable
2020-07-29 05:31:23 +02:00
rsn8887
78c9dbbd20
Fix input port assignments
2020-07-28 16:35:16 -05:00
twinaphex
d2c3a6d71e
(Wiiu) Buildfix
2020-07-24 04:40:39 +02:00
twinaphex
2efb1600a8
(BTStack) Cleanup
2020-07-20 01:32:45 +02:00
twinaphex
005a9c005e
(IOHIDManager) Cleanup
2020-07-20 01:30:42 +02:00
twinaphex
174675ee71
(Wii) Buildfix
2020-07-20 00:57:16 +02:00
twinaphex
18dcda09d0
(IOHIDManager) Another buildfix
2020-07-19 03:39:32 +02:00
twinaphex
b8f9e38b7e
(IOHIDManager) Buildfix
2020-07-19 03:38:07 +02:00
twinaphex
de73e3bff9
Buildfixes
2020-07-19 03:25:30 +02:00
twinaphex
285b0ec0bb
Buildfix
2020-07-19 03:20:41 +02:00
twinaphex
d97e590aaf
Reimplement multi button state functions
2020-07-19 03:18:12 +02:00
twinaphex
cb5b22b6ac
(Android) Refactor axis functions
2020-07-18 22:38:23 +02:00
twinaphex
08ad00f5d3
Start preparing for being able to grab multiple buttons at the same time
2020-07-18 19:51:14 +02:00
twinaphex
8b078662cd
Change function signature of joypad driver's 'button'
2020-07-18 18:07:57 +02:00
twinaphex
0a1942f528
Turn fifo_read_avail and fifo_write_avail into macros
2020-07-07 08:13:32 +02:00
twinaphex
1ae20ea17c
Style nits - turn macro names into upper-case - some while style nits
2020-06-26 20:00:19 +02:00
Ash Logan
41541128c5
(WiiU/hid) Warning fixes
2020-05-17 16:42:31 +10:00
A Schain
1e751d00ea
In case last hatswitch does not match cookie
...
For the mayflash N64 adapter, I was getting a BAD EXC ADDRESS (in mac OS 10.13) for this line (tmp was NULL). Retroarch would crash in the gui if I pressed a button from the DPAD on controller 2. With this change, it no longer crashes in the gui and still registers the button push.
2020-04-30 13:27:44 -04:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
twinaphex
1d2150cb45
Remove drivers_hid/null_hid.c
2020-01-06 15:52:35 +01:00
revvv
22669edfed
update coding style for PR
2019-08-11 21:08:16 +02:00
revvv
976e4672b4
add Retrode support
2019-08-11 20:13:38 +02:00
twinaphex
0257e01bee
Refactor input_autoconfigure_connect - don't return
...
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
6d17d11132
Rewrite '== false' to '!' for our own code
2019-06-06 13:50:39 +02:00
twinaphex
5bf829339d
(HID) Uniquely name symbols
2019-05-27 14:32:40 +02:00
Twinaphex
077a5dd685
(OSX) CXX_BUILD buildfix
2019-04-22 10:33:30 +02:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
...
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
twinaphex
dac4034954
Add PPC ifdefs; kIOHIDUniqueKey is not available on OSX 10.5
2018-08-30 15:56:02 +02:00
greso
2c9fda1798
(macOS) Fix input issues
...
For my Xbox One Controller the min input for the hat is 1 and not 0. 0
points to the default state that is called after each button press.
On top of that the two axis for the trigger buttons were ignored. I
added some additional axis that are not present on my controller but
will probably help for other input devices.
2018-08-07 19:51:50 +02:00
Twinaphex
fd11b205da
Silence bunch of warnings
2018-06-21 07:52:01 +02:00
Twinaphex
8484ea4154
Merge pull request #6672 from gblues/master
...
Cleanup of Wii U launcher code
2018-05-06 15:24:00 +02:00
ceb33
bafd2af885
remove custom debug output
2018-05-05 13:33:15 +02:00
ceb33
67784c85cf
update and merge to current Retroarch version
2018-05-05 12:59:04 +02:00
ceb33
9008684651
re-add callback to manage usb device plugged in while retroarch is running
2018-05-05 12:48:01 +02:00
Twinaphex
de1bf58997
Buildfix
2018-05-03 20:39:03 +02:00
twinaphex
3796e52018
(OSX) Go back to old code - connect handler was broken
2018-05-03 20:31:28 +02:00