<commit_before># jUSBRelay

## Java driver for USB Relays

This driver aims to provide to the Java ecosystem access to low cost USB relays (such as DctTech devices or the ones available on eBay).

## Dependencies
* This driver relies on [JNA](https://github.com/twall/jna) and it this driver brings it transitively we used with Maven.   
* [HID API](http://www.signal11.us/oss/hidapi) has to be properly installed in order to use this driver. This is ot provided through Maven transitive dependencies.

## Compatibility
### This library has been successfully tested on the following platforms:
* Linux desktop machine (arch: amd64) 
* Linux Raspberry (arch: armv6l)
* Mac OS X (with hidapi provided by Homebrew)
 

---

Copyright (C) 2015 <NAME><commit_msg>mention the bug fix for Mac<commit_after># jUSBRelay

## Java driver for USB Relays

This driver aims to provide to the Java ecosystem access to low cost USB relays (such as DctTech devices or the ones available on eBay).

## Dependencies
* This driver relies on [JNA](https://github.com/twall/jna) and it this driver brings it transitively we used with Maven.   
* [HID API](http://www.signal11.us/oss/hidapi) has to be properly installed in order to use this driver. This is ot provided through Maven transitive dependencies.

## Compatibility
### This library has been successfully tested on the following platforms:
* Linux desktop machine (arch: amd64) 
* Linux Raspberry (arch: armv6l)
* Mac OS X (with hidapi provided by Homebrew)
 
# Notes
## Bug in Mac release of HidApi 0.8.0-rc1

A bug in the implementation of the function hid_get_feature_report for the Mac platform is present in the release candidate
0.8.0-rc1 of HidApi. This bug prevents many pieces of software (incl. jUSBRelay) to run properly.

[Brew](http://brew.sh) users can install the patched version of HidApi with the following command:

```
$ brew install https://raw.github.com/rbarazzutti/homebrew/hidapi-0.8.0-rc1-with-macfix/Library/Formula/hidapi.rb
```


---

Copyright (C) 2015 <NAME>
{'fraction_non_alphanumeric': 0.08395061728395062, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 4.276041666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4055579', 'n_tokens_mistral': 621, 'n_tokens_neox': 599, 'n_words': 266}