commit | 83d640c4f8f8b9b8c58ad31c1fff3de4d0c8ce07 | [log] [tgz] |
---|---|---|
author | Daniel J. Ogorchock <djogorchock@gmail.com> | Sat Sep 11 13:36:35 2021 -0400 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Oct 27 10:05:52 2021 +0200 |
tree | 9fdc1f3a2fd5884a05f5ed2c0ea9b4c0ee42be82 | |
parent | 294a828759d0411de33c91e87af4ed17c8ec7486 [diff] |
HID: nintendo: add support for reading user calibration If the controller's SPI flash contains user stick calibration(s), they should be prioritized over the factory calibrations. The user calibrations have 2 magic bytes preceding them. If the bytes are the correct magic values, the user calibration is used. Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>