Message ID | 20220825222420.6833-5-nate@yocom.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Input: joystick: xpad: Add X-Box Adaptive Controller support | expand |
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 9557e4768f14..ece38f00dfff 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -859,7 +859,7 @@ static void xpadone_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char if (data[1] == 0x30) xpadone_ack_mode_report(xpad, data[2]); - input_report_key(dev, BTN_MODE, data[4] & 0x01); + input_report_key(dev, BTN_MODE, data[4] & 0x03); input_sync(dev); return; }