mirror of
https://github.com/gdsports/USBHost_t36
synced 2024-11-11 19:55:04 -05:00
8aa67ff939
Needed HID Parser to support Bidirectional Transfers The HidParser code was setup such that the claim for a report, the caller could say I want to claim the whole thinig and allowed callback functions for processing of in buffer and out buffer. Allow RawHID to contribute Transfer_t Since RawHID may need more resources than most, maybe it should contribute the additional structures The constructor for a RAWHID object allows you to specify the top usage that it wishes to connect to. I used this for example to be able to connect to a Teensy with the RAWHID associated with emulating the Serial object. If a HID Input class says that it wants to claim the whole interface, I reuse the buffer associated with holding the HID descriptor and use it for output buffers.
95 lines
1.9 KiB
Plaintext
95 lines
1.9 KiB
Plaintext
# Objects
|
|
USBHost KEYWORD1
|
|
USBHub KEYWORD1
|
|
USBHIDParser KEYWORD1
|
|
KeyboardController KEYWORD1
|
|
MouseController KEYWORD1
|
|
MIDIDevice KEYWORD1
|
|
USBSerial KEYWORD1
|
|
AntPlus KEYWORD1
|
|
JoystickController KEYWORD1
|
|
KeyboardHIDExtrasController KEYWORD1
|
|
RawHIDController KEYWORD1
|
|
|
|
# Common Functions
|
|
Task KEYWORD2
|
|
idVendor KEYWORD2
|
|
idProduct KEYWORD2
|
|
manufacturer KEYWORD2
|
|
product KEYWORD2
|
|
serialNumber KEYWORD2
|
|
|
|
# KeyboardController
|
|
getKey KEYWORD2
|
|
getModifiers KEYWORD2
|
|
getOemKey KEYWORD2
|
|
attachPress KEYWORD2
|
|
attachRelease KEYWORD2
|
|
LEDS KEYWORD2
|
|
updateLEDS KEYWORD2
|
|
numLock KEYWORD2
|
|
capsLock KEYWORD2
|
|
scrollLock KEYWORD2
|
|
|
|
# MIDIDevice
|
|
getType KEYWORD2
|
|
getChannel KEYWORD2
|
|
getData1 KEYWORD2
|
|
getData2 KEYWORD2
|
|
setHandleNoteOff KEYWORD2
|
|
setHandleNoteOn KEYWORD2
|
|
setHandleVelocityChange KEYWORD2
|
|
setHandleControlChange KEYWORD2
|
|
setHandleProgramChange KEYWORD2
|
|
setHandleAfterTouch KEYWORD2
|
|
setHandlePitchChange KEYWORD2
|
|
setHandleSysEx KEYWORD2
|
|
setHandleRealTimeSystem KEYWORD2
|
|
setHandleTimeCodeQuarterFrame KEYWORD2
|
|
sendNoteOff KEYWORD2
|
|
sendNoteOn KEYWORD2
|
|
sendPolyPressure KEYWORD2
|
|
sendControlChange KEYWORD2
|
|
sendProgramChange KEYWORD2
|
|
sendAfterTouch KEYWORD2
|
|
sendPitchBend KEYWORD2
|
|
sendSysEx KEYWORD2
|
|
sendRealTime KEYWORD2
|
|
sendTimeCodeQuarterFrame KEYWORD2
|
|
sendTimeCodeQuarterFrame KEYWORD2
|
|
SYSEX_MAX_LEN LITERAL1 KEYWORD2
|
|
|
|
# AntPlus
|
|
onStatusChange KEYWORD2
|
|
onDeviceID KEYWORD2
|
|
onHeartRateMonitor KEYWORD2
|
|
onSpeedCadence KEYWORD2
|
|
onSpeed KEYWORD2
|
|
onCadence KEYWORD2
|
|
setWheelCircumference KEYWORD2
|
|
|
|
# MouseController
|
|
mouseDataClear KEYWORD2
|
|
getButtons KEYWORD2
|
|
getMouseX KEYWORD2
|
|
getMouseY KEYWORD2
|
|
getWheel KEYWORD2
|
|
getWheelH KEYWORD2
|
|
|
|
# JoystickController
|
|
joystickDataClear KEYWORD2
|
|
getAxis KEYWORD2
|
|
|
|
# USBSerial
|
|
USBHOST_SERIAL_7E1 LITERAL1
|
|
USBHOST_SERIAL_7O1 LITERAL1
|
|
USBHOST_SERIAL_8N1 LITERAL1
|
|
USBHOST_SERIAL_8N2 LITERAL1
|
|
USBHOST_SERIAL_8E1 LITERAL1
|
|
USBHOST_SERIAL_8O1 LITERAL1
|
|
|
|
# RAWHid
|
|
usage KEYWORD2
|
|
attachReceive KEYWORD2
|
|
sendPacket KEYWORD2
|