Commit graph

16 commits

Author SHA1 Message Date
David Madison
680ddcfc9d XboxOld: Add Logitech Cordless Precision support 2021-07-01 05:21:06 -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
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
Pavel Fatin
969eabb8d7 Compatibility with Arduino's core HID / Mouse / Keyboard libraries
The following collisions resolved:

hid.h -> usbhid.h
hid.cpp -> usbhid.cpp
HID -> USBHID
HID_BOOT_PROTOCOL -> USB_HID_BOOT_PROTOCOL
HID_PROTOCOL_NONE -> USB_HID_PROTOCOL_NONE
HID_PROTOCOL_KEYBOARD -> USB_HID_PROTOCOL_KEYBOARD
HID_PROTOCOL_MOUSE -> USB_HID_PROTOCOL_MOUSE

As a result, it's possible to use the library together with Arduino's bundled HID / Mouse / Keyboard libraries (Leonardo, Micro, or Due).

https://www.arduino.cc/en/Reference/MouseKeyboard
2016-01-16 20:34:16 +01:00
Andrew J. Kroll
46dc4e6fec fix conflict, fix case on include for hid.h (regression?) 2015-03-14 04:54:28 -04:00
Kristian Sloth Lauszus
881c4df046 Merge branch 'master' into dev
Conflicts:
	BTD.h
	BTHID.h
	PS3BT.h
	SPP.h
	Wii.h
2015-02-24 01:28:28 +01:00
Kristian Sloth Lauszus
6047962d60 Merge branch 'xxxajk'
Conflicts:
	XBOXUSB.h
	examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino
	hiduniversal.h
	settings.h
	usbhost.h
2015-02-22 18:25:22 +01:00
Andrew J. Kroll
bd8c8e7404 Fix use of "bool" so ARM compiles correctly 2015-02-19 03:14:39 -05:00
Andrew J. Kroll
196a0b69be Fix all demos, fix all wrong uses of virtual keyword, some spacing cleanup. 2014-11-10 01:35:13 -05:00
Kristian Lauszus
4a1940b99b Don't redefine HID parameters - just include Hid.h 2014-09-02 01:26:17 -07:00
Kristian Lauszus
bde11036a9 Endpoints types where already defined in usb_ch9.h, so no need to redefine them 2014-09-02 00:16:48 -07:00
Kristian Lauszus
257c96f5c1 Can now turn LED off by calling setLedOn(OFF) for all controllers
Also renamed all enums, so they does not conflict with user code that easily
2014-01-04 13:43:49 +01:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Andrew J. Kroll
1a0d0690d3 compile faster 2013-09-23 18:40:10 -04:00
Kristian Sloth Lauszus
dcdc1b26f7 Reduced buffer sizes 2013-07-19 12:49:13 +02:00
Kristian Sloth Lauszus
f274fb7fee Renamed library 2013-07-18 20:35:23 +02:00
Renamed from XBOXUSBOLD.h (Browse further)