-
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.
Updated for Android kernel 3.18+ Includes minor adjustments to usb function parser Source: https://github.com/pelya/android-keyboard-gadget
- Loading branch information
1 parent
aed7bfb
commit 5e0c631
Showing
7 changed files
with
264 additions
and
19 deletions.
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
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,16 @@ | ||
#ifndef _GADGET_F_HID_H | ||
#define _GADGET_F_HID_H | ||
|
||
#include <linux/hid.h> | ||
#include <linux/usb/composite.h> | ||
#include <linux/usb/gadget.h> | ||
#include <linux/usb/g_hid.h> | ||
|
||
int hidg_bind_config(struct usb_configuration *c, | ||
struct hidg_func_descriptor *fdesc, int index); | ||
|
||
int ghid_setup(struct usb_gadget *g, int count); | ||
|
||
void ghid_cleanup(void); | ||
|
||
#endif |
Oops, something went wrong.