mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:30:54 +07:00
34008dbfe8
This patch is originally from Nick Sillik, and has been rediffed against the latest tree. This patch adds usability to the OneTouch Button on Maxtor External USB Hard Drives. Using an unusual device entry it declares an extra init function which claims the interrupt endpoint associated with this button. The button is connected to the input system. Signed-off-by: Nick Sillik <n.sillik@temple.edu> Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10 lines
179 B
C
10 lines
179 B
C
#ifndef _ONETOUCH_H_
|
|
#define _ONETOUCH_H_
|
|
|
|
#define ONETOUCH_PKT_LEN 0x02
|
|
#define ONETOUCH_BUTTON KEY_PROG1
|
|
|
|
int onetouch_connect_input(struct us_data *ss);
|
|
|
|
#endif
|