Kristian Sloth Lauszus
b56e8b76a1
Merge pull request #650 from dmadison/xbox-trigger-enums
...
Add Xbox Trigger Enums
2021-07-15 13:24:38 +03:00
Kristian Sloth Lauszus
395fca4aac
Merge pull request #647 from tmk/upstream_fix_hidboot_buff
...
hidboot: Fix buffer size and check maxPacketSize #646
2021-07-15 13:23:39 +03:00
Kristian Sloth Lauszus
d66ed7fbeb
Ignore more false warnings in the ESP8266 core
2021-07-15 11:36:43 +02:00
Kristian Sloth Lauszus
9293a2b0b8
Ignore more warnings caused by strcpy in the ESP8266 core
2021-07-15 11:30:41 +02:00
Kristian Sloth Lauszus
a510901c7a
Ignore warning caused by strcpy in the ESP8266 core
2021-07-15 11:24:10 +02:00
Kristian Sloth Lauszus
91c2d239a2
Merge pull request #651 from dmadison/xbox-one-share
...
Xbox One USB Share Button
2021-07-15 12:22:55 +03:00
David Madison
8e78fc202e
Change Xbox LT/LB/RT/RB rumble ref in example
...
Missed this one in 135608c
.
2021-07-05 04:26:13 -04:00
David Madison
db31a4d125
Add Xbox bumper and trigger enums to keywords
2021-07-05 04:22:44 -04:00
David Madison
f98a746c3d
Change Xbox One SHARE support to use bools
...
This saves a handful of bytes because we're not using the larger bitfields, and it simplifies the edge case code in the 'get' functions.
2021-07-01 06:36:35 -04:00
David Madison
0b3d269f17
Add 'ONE' to Xbox One example startup string
...
Making this distinct from the "XBOXUSB" example which has the same string.
2021-07-01 06:07:04 -04:00
David Madison
f0e37202e1
Add SHARE button support to Xbox One wired
2021-07-01 06:03:57 -04:00
David Madison
135608c0ce
Change Xbox LT/LB/RT/RB references in examples
2021-07-01 05:21:06 -04:00
David Madison
680ddcfc9d
XboxOld: Add Logitech Cordless Precision support
2021-07-01 05:21:06 -04:00
David Madison
ac7c1acd9f
XboxOld: Use VID and PID function check in init
...
Avoiding duplicating the VID/PID check logic in multiple places
2021-07-01 05:21:06 -04:00
David Madison
99e01d3a98
Transform Xbox old trigger enums
...
This is required to get the "correct" output from the trigger and bumper enums, which for legacy reasons do not match up with the L1/L2 keys indices.
2021-07-01 05:20:55 -04:00
David Madison
6e63210c2a
Add Xbox trigger enum options
...
Bumper and trigger in place of 1/2, as used on the Playstation controllers.
2021-07-01 04:50:43 -04:00
Jun Wako
d3e306f5f9
Fix buffer size and check maxPacketSize #646
2021-06-26 20:44:23 +09:00
Kristian Sloth Lauszus
b6511306f1
Merge pull request #636 from felis/xbox_pid
...
Added another PID for the Xbox 360 wireless receiver
2021-05-14 22:19:26 +02:00
Kristian Sloth Lauszus
a2df807ad4
Added another PID for the Xbox 360 wireless receiver
2021-05-14 21:33:38 +02:00
Kristian Sloth Lauszus
fd7a51cca4
Release version 1.6.0
2021-05-09 22:59:42 +02:00
Kristian Sloth Lauszus
2fa4976e06
Merge pull request #632 from felis/switch_pro
...
Added support for the Switch Pro controller
2021-05-09 22:37:16 +02:00
Kristian Sloth Lauszus
13449cbf47
Merge pull request #634 from YuuichiAkagawa/pr_usbh_midi_060
...
Update MIDI driver v0.6.0
2021-05-09 21:14:44 +02:00
Kristian Sloth Lauszus
ec8890d40e
Can now also parse the battery level and charging status
2021-05-09 21:07:14 +02:00
Kristian Sloth Lauszus
4651acd2c6
Fixed "error: variable-sized object buf may not be initialized" warning
2021-05-09 21:06:22 +02:00
Yuuichi Akagawa
9b754a8a09
MIDI driver v0.6.0
2021-05-10 00:06:47 +09:00
Kristian Sloth Lauszus
2dfb767093
The Switch Pro controller now works via USB and we can now read the IMU data as well
2021-05-03 22:40:42 +02:00
Kristian Sloth Lauszus
f19f610081
Renamed Bluetooth example
2021-05-03 22:40:04 +02:00
Kristian Sloth Lauszus
7e96d9fb09
Expose API for controlling the left and right rumble individually
2021-05-02 22:34:49 +02:00
Kristian Sloth Lauszus
205009d2be
Merge pull request #617 from YuuichiAkagawa/pr_outnak_fix
...
Recover from OUT-NAK
2021-05-02 22:13:22 +02:00
Kristian Sloth Lauszus
2501f4c2e3
Can now control the LEDs and rumble on the Switch Pro controller
2021-05-02 22:03:05 +02:00
Kristian Sloth Lauszus
13b9047106
Added support for the Switch Pro controller via Bluetooth
2021-05-02 18:17:07 +02:00
Kristian Sloth Lauszus
e94343a49e
Only print if the XboxCommand fails
2021-05-02 15:52:17 +02:00
Kristian Sloth Lauszus
3f61d9af2a
Fixed reading the XBOX button on the Xbox One S controller via Bluetooth
...
This bug was introduced in #618
2021-05-02 15:46:03 +02:00
Kristian Sloth Lauszus
45bf971f3b
Merge pull request #618 from dmadison/enum-refactor
...
Make ButtonEnum values unique
2021-05-02 15:26:40 +02:00
Kristian Sloth Lauszus
4314c00683
Fixed link to amBX library
2021-05-02 15:26:05 +02:00
Kristian Sloth Lauszus
396820bdbe
Ignore "initialization from incompatible pointer type" warning in the ESP32 core
2021-05-02 15:09:59 +02:00
Kristian Sloth Lauszus
0a924511df
Merge pull request #613 from AranVink/master
...
Add AMBX support
2021-05-02 15:02:49 +02:00
Aran Vink
e2a5cd9401
Update README
2021-03-28 00:46:39 +01:00
Aran Vink
425ae4584c
Remove unneeded delays, rewrite main loop in example
2021-03-28 00:32:57 +01:00
David Madison
5d89999be8
ButtonEnum style order nitpicks
...
Aligning like-system identifiers for visual congruity. No functional change.
2021-03-27 15:05:16 -04:00
David Madison
33975cfca9
Modify XBOXOLD to catch previous button cases
...
Getting a bit ahead of myself and forgetting that the enum checks no longer work to maintain the previous aliases.
2021-03-27 14:32:01 -04:00
David Madison
2120adf283
Refactor button index function names
...
It's not really fair to refer to the main index function as "legacy" if it's actively being used. All controller-specific 'get' filtering functions are now appended with the name of the controller rather than having it in the middle.
2021-03-27 08:44:20 -04:00
David Madison
6e0748d097
Revert "Change button index 'get' functions to constexpr"
...
On second thought, reverting this so that in the case that the function is *not* evaluated at compile-time, the button values function is not called twice.
2021-03-27 08:37:15 -04:00
David Madison
89575639b1
Change button index 'get' functions to constexpr
2021-03-27 08:37:15 -04:00
David Madison
2fe5574e71
Change button values function to constexpr
...
Requires a chained ternary in place of a switch for compatibility with older compilers.
2021-03-27 08:37:01 -04:00
David Madison
57afaefd2c
Check direct enum comparisons by index
...
To not break support for users who used the "wrong" control enumeration for that controller, but had their program work because the "wrong" enum used the same ID.
2021-03-27 07:31:37 -04:00
David Madison
f9a408204d
Use signed index values for ButtonEnum
2021-03-27 06:51:01 -04:00
David Madison
5753cc661a
Reorganized ButtonEnum list
...
Trying to form a more logical order based on how these are used.
2021-03-27 06:51:01 -04:00
David Madison
26c66f455e
Remove shared identifiers in ButtonEnum
...
Move shared button identifiers from enum to an inline function, so formerly shared identifiers can be separately filtered and processed on a class-by-class basis.
Fixes #611 .
2021-03-27 06:51:01 -04:00
Yuuichi Akagawa
82df4b990e
Recover from OUT-NAK
2021-03-26 15:04:36 +09:00