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

From
David Herrmann <hidden>
Date
2011-06-29 12:43:33
Reply to
Dmitry Torokhov, 2011-06-28
On Tue, Jun 28, 2011 at 7:52 AM, Dmitry Torokhov
[off-list ref] wrote:
David Herrmann [off-list ref] wrote:
quoted
+      input_event(wdata->input, EV_KEY, wiiproto_keymap[WIIPROTO_KEY_LEFT],
+                                                      !!(payload[0] & 0x01));
input_report_key()

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

Thanks.


--
Dmitry
Thanks, I've fixed that.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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