commit | be1ecd62e619dae8d7c5b7f212333558fcc85d4d | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@googlemail.com> | Tue Sep 06 13:50:33 2011 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Sep 07 13:25:16 2011 +0200 |
tree | 245618c541c20d91109f331aa948412d28ef7284 | |
parent | 7336b9f93a26082ecb068b5db42b2ed0dbf802bd [diff] |
HID: wiimote: Add register/eeprom memory support The wiimote allows direct access to its memory mapped registers and internal eeprom. This adds support to access this memory and handle memory events. There are two macros which wrap up the memory access functions to avoid accidentally overwriting sensitive eeprom data because a boolean value was wrongly set. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>