Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-07 | rename arduino core dir to xinputHEADmaster | HampusM | |
2015-10-21 | [USB] use plugged modules name to create iSerial field | Martino Facchin | |
2015-10-12 | [PUSB] Renamed PUSBListNode to PluggableUSBModule | Cristian Maglie | |
2015-10-07 | [PUSB] Removed unnecessary endpoint and interface function | NicoHood | |
2015-10-07 | [PUSB] Made getDescriptor() and setup() more flexible | NicoHood | |
Alternatively we can only pass the wIndex to getDescriptor but I suggest to just pass the pointer aka reference of the whole setup. In guess (havent tested this) that this results in more or less the code size but its a) idential with the other functions and b) we late have more flexibility here. The Code got a quick SerialKeyboard.ino test | |||
2015-10-07 | [PUSB] Changed Interface + Endpoint to unsigned variables | NicoHood | |
The iterations in the for loop also use unsigned and the setup struct etc as well. There was no change in HID required since we just init the inherited variables via constructor and the type is never mentioned. | |||
2015-10-07 | [PUSB] renamed some parameters | Cristian Maglie | |
2015-10-03 | Removed not needed public statement for root node | NicoHood | |
2015-10-02 | [PUSB] Fix static initialization order fiasco | Martino Facchin | |
For details see: https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use | |||
2015-10-02 | [PUSB] Fixed check for available endpoints | Cristian Maglie | |
The check for available slot in PluggableUSB is done on the endpoint and not on the number of plugged modules. The modulesCount field is no longer useful and it has been removed. | |||
2015-10-02 | [PUSB] No more static fields in PluggableUSB class | Cristian Maglie | |
2015-10-02 | [PUSB] The latest fields are now set via constructor | Cristian Maglie | |
2015-10-02 | [PUSB] callbacks are now pure virtual methods | Cristian Maglie | |
This change allows the compiler to handle callbacks resolution. Callbacks now must be implemented on the class that extends PUSBListNode and this is forced by compiler by means of pure virtual methods. Also the calls to HID.interface() and HID.endpoint() can now be simplified to interface() and endpoint() respectively since the methods are no more static. | |||
2015-10-02 | [PUSB] replaced u8 with uint8_t | Cristian Maglie | |
2015-10-02 | [PUSB] Selected interface and endpoint are now part of PUSBListNode | Cristian Maglie | |
The method int8_t PluggableUSB::addFunction(PUSBListNode *, uint8_t *) has been changed to bool PluggableUSB::plug(PUSBListNode *node) since both EP and Interfaces are now saved directly into node | |||
2015-10-02 | [PUSB] Global functions PUSB_* are now methods of PluggableUSB class | Cristian Maglie | |
2015-10-02 | [PUSB] PUSBCallback struct has been merged into PUSBListNode | Cristian Maglie | |
This slightly simplifies PluggableUSB API. | |||
2015-09-29 | Removed not used PUSB_Begin() | Nico | |
2015-09-28 | [HID] Removed unused PUSBReturn structure | Cristian Maglie | |
2015-07-16 | fix pluggableUSB linked list | Martino Facchin | |
2015-07-16 | rename Setup typedef struct to USBSetup | Martino Facchin | |
was really too common | |||
2015-07-16 | fix HID descriptors bigger than 127 bytes | Martino Facchin | |
2015-07-16 | rework PUSBCallbacks initialization | Martino Facchin | |
2015-07-16 | add numInterfaces field to PUSBCallbacks | Martino Facchin | |
2015-07-16 | implement PUSB modules as linked list | Martino Facchin | |
2015-07-16 | remove useless variables | Martino Facchin | |
2015-07-16 | add PluggableUSB module | Martino Facchin | |