Merge pull request #69 from NicoHood/dev

Release 2.4.2
This commit is contained in:
Nico 2016-01-04 18:42:12 +01:00
commit 516c6f3efd
4 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,4 @@
Arduino HID Project 2.4.1 Arduino HID Project 2.4.2
========================= =========================
![Header Picture](header.jpg) ![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. 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. 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)) * Uno (with [HoodLoader2](https://github.com/NicoHood/HoodLoader2))
* Mega (with [HoodLoader2](https://github.com/NicoHood/HoodLoader2)) * Mega (with [HoodLoader2](https://github.com/NicoHood/HoodLoader2))
* Leonardo * Leonardo
@ -49,6 +49,10 @@ www.nicohood.de
Version History 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) 2.4.1 Release (19.12.2015)
* RawHID Improvements * RawHID Improvements
* Added Keyboard Feature Report * Added Keyboard Feature Report

View file

@ -1,5 +1,5 @@
name=HID-Project name=HID-Project
version=2.4.1 version=2.4.2
author=NicoHood author=NicoHood
maintainer=NicoHood <blog@NicoHood.de> maintainer=NicoHood <blog@NicoHood.de>
sentence=Extended HID Functions for Arduino sentence=Extended HID Functions for Arduino

View file

@ -33,7 +33,7 @@ size_t DefaultKeyboardAPI::set(KeyboardKeycode k, bool s)
// Convert key into bitfield (0 - 7) // Convert key into bitfield (0 - 7)
k = KeyboardKeycode(uint8_t(k) - uint8_t(KEY_LEFT_CTRL)); k = KeyboardKeycode(uint8_t(k) - uint8_t(KEY_LEFT_CTRL));
if(s){ if(s){
_keyReport.modifiers = (1 << k); _keyReport.modifiers |= (1 << k);
} }
else{ else{
_keyReport.modifiers &= ~(1 << k); _keyReport.modifiers &= ~(1 << k);

View file

@ -25,7 +25,7 @@ THE SOFTWARE.
#pragma once #pragma once
// Software version // Software version
#define HID_PROJECT_VERSION 241 #define HID_PROJECT_VERSION 242
#if ARDUINO < 10607 #if ARDUINO < 10607
#error HID Project requires Arduino IDE 1.6.7 or greater. Please update your IDE. #error HID Project requires Arduino IDE 1.6.7 or greater. Please update your IDE.