We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86f6710 + 842fec0 commit db24433Copy full SHA for db24433
drivers/hid/hid-nintendo.c
@@ -1634,6 +1634,7 @@ static int joycon_input_create(struct joycon_ctlr *ctlr)
1634
ctlr->input->id.version = hdev->version;
1635
ctlr->input->uniq = ctlr->mac_addr_str;
1636
ctlr->input->name = name;
1637
+ ctlr->input->phys = hdev->phys;
1638
input_set_drvdata(ctlr->input, ctlr);
1639
1640
/* set up sticks and buttons */
@@ -1713,6 +1714,7 @@ static int joycon_input_create(struct joycon_ctlr *ctlr)
1713
1714
ctlr->imu_input->id.version = hdev->version;
1715
ctlr->imu_input->uniq = ctlr->mac_addr_str;
1716
ctlr->imu_input->name = imu_name;
1717
+ ctlr->imu_input->phys = hdev->phys;
1718
input_set_drvdata(ctlr->imu_input, ctlr);
1719
1720
/* configure imu axes */
0 commit comments