mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-07-07 21:49:00 +00:00
Change HID debugging symbol to HIDDEBUG to reduce extra output unless
necessary. Add missing ioctls for Linux HID support. Remove these when a newer linux/hidraw.h is available. Add more defensive checks in device add/remove processing. Not all controllers fill in the node field. Provide group notifications on initial group discovery. Add Aeon Labs Home Energy Monitor device defintion as well as update device info for Everspring SM103. Make sure ACT Zir010 has default values specified in configuration for initial case.
This commit is contained in:
parent
b7603998d7
commit
06c6adbd8c
8 changed files with 112 additions and 28 deletions
|
@ -43,6 +43,15 @@
|
|||
|
||||
#include "hidapi.h"
|
||||
|
||||
/*
|
||||
* Added here until linux/hidraw.h has them. These definitions require a version
|
||||
* 2.6.39 based kernel as well.
|
||||
*/
|
||||
#ifndef HIDIOCSFEATURE
|
||||
#define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len)
|
||||
#define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len)
|
||||
#endif
|
||||
|
||||
struct hid_device_ {
|
||||
int device_handle;
|
||||
int blocking;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue