Skip to content

Commit

Permalink
Merge pull request #48 from hanshuebner/master
Browse files Browse the repository at this point in the history
Fix README.md issue
  • Loading branch information
nyholku authored Oct 1, 2017
2 parents 224e20c + e10d64c commit 55fcca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ for (HidDeviceInfo info : devList) {
... and then open and attach an input report listener to it:

```java
HidDevice dev=PureJavaHidApi.openDevice(devInfo.getPath());
HidDevice dev=PureJavaHidApi.openDevice(devInfo);
dev.setInputReportListener(new InputReportListener() {
@Override
public void onInputReport(HidDevice source, byte Id, byte[] data, int len) {
Expand Down

0 comments on commit 55fcca5

Please sign in to comment.