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

- From: David Herrmann \<hidden\>
- Date: 2011-06-29 12:43:33 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/06/8917103
- Thread: https://ratatoskr.run/linux-input/2011/06/8917072/t.md

```text
On Tue, Jun 28, 2011 at 7:52 AM, Dmitry Torokhov
[ref] wrote:
> David Herrmann [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

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
```
