]> git.baikalelectronics.ru Git - kernel.git/commit
HID: nintendo: set controller uniq to MAC
authorDaniel J. Ogorchock <djogorchock@gmail.com>
Sat, 11 Sep 2021 17:36:33 +0000 (13:36 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 27 Oct 2021 08:05:52 +0000 (10:05 +0200)
commit477d0510cbfe902369ac0302d6a5623f5469b244
tree18a8628490c3b2f200056cc566e7f30fed4d0645
parent32ae6122122382c805991fd3c60404d96ae6c2d3
HID: nintendo: set controller uniq to MAC

This patch sets the input device's uniq identifier to the controller's
MAC address. This is useful for future association between an IMU input
device with the normal input device as well as associating the
controller with any serial joy-con driver.

Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-nintendo.c