]> 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)
commit01befe4671d2670f18cec319adacf457d2d675a1
tree18a8628490c3b2f200056cc566e7f30fed4d0645
parent1900441ce8f8c52f1fcde3478666587cdd1d4bb4
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