lkml.org 
[lkml]   [2009]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Input driver for Twinhan USB 6253:0100 remote control
On Tue, 14 Apr 2009, Mark Lord wrote:

> > I think if you take drivers/hid/hid-belkin.c as a template the
> > conversion will take you no time.
> Okay, I can have a look at that one. Thanks.

Yes, hid-belking is a good example of trivial driver that sits on a HID
bus for you, as it utilizes the ->input_mapping() callback, which is
probably the only callback from HID core you'd need.

If you encounter any difficulties implementing your driver as a HID bus
driver, please let me know.

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2009-04-15 10:27    [W:0.061 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site