-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 316066 b: refs/heads/master c: ace3d86 h: refs/heads/master v: v3
- Loading branch information
David Herrmann
authored and
Jiri Kosina
committed
Jun 18, 2012
1 parent
51d7532
commit c8a43a1
Showing
4 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 1ccd7a2a33f2b47e46c51f4501e9623a51d28090 | ||
refs/heads/master: ace3d8614ab0e6544f5f85921085b55b915fe9aa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef __UHID_H_ | ||
#define __UHID_H_ | ||
|
||
/* | ||
* User-space I/O driver support for HID subsystem | ||
* Copyright (c) 2012 David Herrmann | ||
*/ | ||
|
||
/* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 2 of the License, or (at your option) | ||
* any later version. | ||
*/ | ||
|
||
/* | ||
* Public header for user-space communication. We try to keep every structure | ||
* aligned but to be safe we also use __attribute__((__packed__)). Therefore, | ||
* the communication should be ABI compatible even between architectures. | ||
*/ | ||
|
||
#include <linux/input.h> | ||
#include <linux/types.h> | ||
|
||
enum uhid_event_type { | ||
UHID_DUMMY, | ||
}; | ||
|
||
struct uhid_event { | ||
__u32 type; | ||
} __attribute__((__packed__)); | ||
|
||
#endif /* __UHID_H_ */ |