twinaphex
62280439b7
Rename epfd to fd
2017-11-30 07:00:25 +01:00
David Walters
05578f0634
Show VID/PID values for unsupported devices. ( #5825 )
2017-11-29 15:56:18 -05:00
David Walters
5f095677a7
fix for wiiu build ( #5826 )
2017-11-29 15:55:31 -05:00
Brad Parker
5453853001
remove extra paren
2017-11-29 11:32:32 -05:00
Brad Parker
f41187df22
remove extra brace
2017-11-29 11:17:13 -05:00
Brad Parker
44b70efb68
style nits
2017-11-29 10:42:39 -05:00
Brad Parker
42e81dcef4
add back missing code from c5bdc02
2017-11-29 10:35:52 -05:00
Brad Parker
aa1f95b3d5
undo changes in c5bdc02 that reverted my previous commits: 34491a6 28c6237 1f58d9c 61bd9d7
2017-11-29 10:22:30 -05:00
Brad Parker
def24ef8eb
blissbox: print message if detecting update mode or old firmware versions, override vid/pid check for autoconfig profiles, misc comments
2017-11-28 21:25:54 -05:00
Brad Parker
2dd64d9c11
Initial blissbox support, requires firmware 2.0. Currently limited to platforms with libusb support.
2017-11-28 18:25:12 -05:00
David Walters
f09477d46a
additional compile fixes
2017-11-28 10:36:16 +00:00
David Walters
c5bdc02d6f
replace uint64_t with retro_bits_t* for pad buttons state
2017-11-28 10:04:34 +00:00
Brad Parker
61bd9d7d70
libusb: early return if we fail to get a config descriptor, otherwise the memory returned is invalid (and should not be freed either)
2017-11-27 11:30:29 -05:00
Brad Parker
1f58d9cd1f
comment
2017-11-27 11:30:29 -05:00
Brad Parker
28c6237b47
FreeBSD: support libusb hid input driver
2017-11-27 11:30:29 -05:00
Brad Parker
34491a6025
libusb: prevent crash on driver deinit when there are no pad connections
2017-11-27 11:30:29 -05:00
David Walters
e06290a06c
updated winraw driver for new lightgun/mouse binding api
2017-11-27 12:51:06 +00:00
twinaphex
cdf1d9a417
Indent nits
2017-11-27 03:53:46 +01:00
Twinaphex
d93b9ebf4d
Silence warning
2017-11-27 03:53:25 +01:00
twinaphex
dfebea9109
Cleanups
2017-11-26 22:58:36 +01:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
twinaphex
e35394d4bd
Fix MSVC 2003 build
2017-11-26 22:41:34 +01:00
David Walters
59c188f75c
Implement new lightgun API
2017-11-26 17:09:15 +00:00
David Walters
dbd9bf3b46
New lightgun binds
2017-11-26 16:59:48 +00:00
David Walters
c733f96a16
listen for mouse buttons/wheel when binding input
2017-11-26 15:42:47 +00:00
David Walters
cdb5a656f2
dinput: only support hardware mouse index 0
2017-11-26 15:40:27 +00:00
David Walters
59812e9509
include mouse buttons in block hotkey check
2017-11-26 13:23:39 +00:00
David Walters
9682e2777b
support for mouse button binds in Windows input drivers
2017-11-26 12:55:17 +00:00
David Walters
25efae0630
Show mbutton binds on settings list; comma separate joy and key bins
2017-11-26 11:56:02 +00:00
David Walters
1d70fef70c
load/save mbutton assignments to retroarch config
2017-11-26 11:54:10 +00:00
David Walters
b190ac1943
Add 'mbutton' field to retro_keybind struct
2017-11-26 11:49:37 +00:00
David Walters
b3a53ac8ca
Show "---" for unbound controls, not "(Key: )"
2017-11-24 21:36:49 +00:00
Twinaphex
45fb685375
Merge pull request #5762 from hiddenasbestos/extend_input_bits
...
Extend input bind limit to 256
2017-11-24 14:48:53 +01:00
David Walters
5be7921445
reimplement using retro_bits_t; pass by ref; raise bind limit to 256
2017-11-24 11:19:17 +00:00
David Walters
5294d43bf1
use C89 compatible comment style
2017-11-24 09:28:26 +00:00
twinaphex
7ac5eda1e1
Rewrite input_mapper code - no longer have an internal pointer
...
inside input_mapper
2017-11-24 02:37:53 +01:00
David Walters
b0e383d5f0
Extend input bind limit to 128
2017-11-23 23:04:09 +00:00
Ash
efad07e89f
[WiiU] Add proper DRC touch scaling for non-720p resolutions
2017-11-19 17:18:03 +11:00
David Walters
795057bacf
Support for RETRO_DEVICE_INDEX_ANALOG_BUTTON
2017-11-17 22:46:23 +00:00
David Walters
41df4a0555
Support for mouse buttons 4&5
2017-11-17 12:00:24 +00:00
daniel jimenez
e91bae38cf
Introduce button mappings for generic usb controller
2017-11-13 22:08:24 -08:00
twinaphex
ac14f8bb2a
Rearrange some struct members
2017-11-12 17:02:14 +01:00
Twinaphex
b8df76271c
Merge pull request #5654 from QuarkTheAwesome/wiiu-warnings
...
[WiiU] Various warning fixes
2017-11-05 16:14:18 +01:00
Ash
6090aa8f8a
[WiiU] Account for 12px clamp on physical screen
...
Seriously, I think it's good now.
2017-11-04 20:58:25 +11:00
Ash
e39c820cee
[WiiU] Change up wiiu_joypad_name semantics
...
Prevents warnings from GCC around the possibility of a negative index
going into hidName.
2017-11-04 20:37:30 +11:00
Ash
fc79fec964
[WiiU] DRC Touch - scale to game image viewport
2017-11-04 16:14:28 +11:00
Ash
a3e4a7612f
[WiiU] Fix DRC touch - proper scaling; press detection
...
Oops! Didn't do this quite right the first time round.
This commit fixes RETRO_DEVICE_ID_POINTER_PRESSED, which would always
return 0 due to to an implicit case to int16_t. Basically, we'd do
(val & 0x00080000) & 0xFFFF; which would return 0 every time. Fixed that
by wrapping it in a ternary. Yes, I know we could use a rotation, but
for a boolean value it really doesn't matter.
I also rewrote scaleTP to deal entirely in integers. While the
floating-point math was theoretically faster on PowerPC; it gets awkward
to cast -0x7FFF to a float.
Speaking of, the driver now actually conforms to the libretro API. Not
sure how I managed to not see the spec; but hey, now its fixed.
RETRO_DEVICE_POINTER_ID_X/Y will now return values between -0x7FFF and
0x7FFF like they're supposed to.
Big thanks to @r-type for hounding me to fix this.
Partially addresses #5294 ; we still need mouse emulation.
2017-11-04 15:01:58 +11:00
Glenn
ec806f65f9
fixed MFI controller being set to P2
2017-10-29 18:20:39 +11:00
Francisco José García García
03524278c6
Trying to fix L2/R2/L3/R3
...
Related to #5431
2017-10-25 21:05:15 +02:00
Maschell
05ef63fd08
[WII U] Fix for Issue #5556
...
This hopefully fixes the issues when you try to use 2 Controllers with
the same vid/pid at the same time.
Tested with 2 DS4 controller via the Hid to VPAD Network Client.
Adapters with multiple ports (like the official GC-Adapter) are still
working
2017-10-17 21:38:42 +02:00