diff --git a/USBHID.h b/USBHID.h index 9643e29..b2aab2f 100644 --- a/USBHID.h +++ b/USBHID.h @@ -717,6 +717,9 @@ class HIDJoystick : public HIDReporter { void begin(void); void end(void); void button(uint8_t button, bool val); + void buttons(uint32_t b) { + joyReport.buttons = b; + } void X(uint16_t val); void Y(uint16_t val); void position(uint16_t x, uint16_t y); diff --git a/library.properties b/library.properties index d46be92..ce046ab 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=USBComposite for STM32F1 -version=1.02 +version=1.05 author=Various email=arpruss@gmail.com sentence=USB HID / MIDI / mass storage / Audio library for STM32F1