diff --git a/Readme.md b/Readme.md index 34c0fc3..7efeb98 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -Arduino HID Project 2.4.1 +Arduino HID Project 2.4.2 ========================= ![Header Picture](header.jpg) @@ -7,7 +7,7 @@ This project went through a lot of phases and has now reached a new Arduino ~~US with a lot of new functions like extended HID. It also supports HoodLoader1+2. The idea is to enable enhanced USB functions to almost all 'standard' Arduino boards. -**Supported Arduinos (IDE 1.6.6 or higher!):** +**Supported Arduinos (IDE 1.6.8 or higher!):** * Uno (with [HoodLoader2](https://github.com/NicoHood/HoodLoader2)) * Mega (with [HoodLoader2](https://github.com/NicoHood/HoodLoader2)) * Leonardo @@ -49,6 +49,10 @@ www.nicohood.de Version History =============== ``` +2.4.2 Release (04.01.2016) +* RawHID >64 byte fix (Arduino IDE 1.6.8 fix) +* Fixed Keyboard modifier add() issue #68 + 2.4.1 Release (19.12.2015) * RawHID Improvements * Added Keyboard Feature Report diff --git a/library.properties b/library.properties index 0dd202d..e7f574a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=HID-Project -version=2.4.1 +version=2.4.2 author=NicoHood maintainer=NicoHood sentence=Extended HID Functions for Arduino diff --git a/src/HID-APIs/DefaultKeyboardAPI.hpp b/src/HID-APIs/DefaultKeyboardAPI.hpp index 7ca2071..06a1cab 100644 --- a/src/HID-APIs/DefaultKeyboardAPI.hpp +++ b/src/HID-APIs/DefaultKeyboardAPI.hpp @@ -33,7 +33,7 @@ size_t DefaultKeyboardAPI::set(KeyboardKeycode k, bool s) // Convert key into bitfield (0 - 7) k = KeyboardKeycode(uint8_t(k) - uint8_t(KEY_LEFT_CTRL)); if(s){ - _keyReport.modifiers = (1 << k); + _keyReport.modifiers |= (1 << k); } else{ _keyReport.modifiers &= ~(1 << k); diff --git a/src/HID-Project.h b/src/HID-Project.h index 5393c34..275af76 100644 --- a/src/HID-Project.h +++ b/src/HID-Project.h @@ -25,7 +25,7 @@ THE SOFTWARE. #pragma once // Software version -#define HID_PROJECT_VERSION 241 +#define HID_PROJECT_VERSION 242 #if ARDUINO < 10607 #error HID Project requires Arduino IDE 1.6.7 or greater. Please update your IDE.