Skip to content

Commit

Permalink
0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Jan 3, 2018
1 parent 13b6091 commit 6ee2da5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Consumer.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "USBHID.h"

void HIDConsumer::begin(void) {}
void HIDConsumer::end(void) {}
void HIDConsumer::press(uint16_t button) {
report.button = button;
sendReport();
}

void HIDConsumer::release() {
report.button = 0;
sendReport();
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=USBHID
version=0.21
version=0.23
author=Various
email[email protected]
sentence=USBHID library for STM32F1
Expand Down

0 comments on commit 6ee2da5

Please sign in to comment.