Re: [PATCH 09/12] HID: wiimote: Add wiimote input button parser

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2011-06-28 05:52:27
Reply to
David Herrmann, 2011-06-27
David Herrmann [off-list ref] wrote:
+	input_event(wdata->input, EV_KEY, wiiproto_keymap[WIIPROTO_KEY_LEFT],
+							!!(payload[0] & 0x01));
input_report_key()

+	input_event(wdata->input, EV_SYN, SYN_REPORT, 0);
input_sync()

Thanks.


-- 
Dmitry
Thread (19 messages) 19 messages, 3 authors, last reply 2011-07-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help