![]() Removal & dosing with integrated level measurement. ![]() Level measurement on reed-contact basis.See mirroring instructions on how to clone and mirrorĪll data and code used by this external index. This is an external index of several public inboxes, 0:20 Input: joystick: xpad: Add X-Box Adaptive Controller support Nate Yocom links below jump to the message on this page. Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) ^ raw reply 2+ messages in threadĮnd of thread, other threads: ^1da177e4c3f41 drivers/usb/input/xpad.c Linus Torvalds 1618ĭeb8ee43a23d48 drivers/usb/input/xpad.c Dominic Cerquetti 1619 static void xpad_set_up_abs(struct input_dev *input_dev, signed short abs)ĭeb8ee43a23d48 drivers/usb/input/xpad.c Dominic Cerquetti 1620 ĭeb8ee43a23d48 drivers/usb/input/xpad.c Dominic Cerquetti 1648 > drivers/input/joystick/xpad.c:1643:2: warning: unannotated fall-through between switch labels ĭrivers/input/joystick/xpad.c:1643:2: note: insert '_attribute_((fallthrough)) ' to silence this warningĭrivers/input/joystick/xpad.c:1643:2: note: insert 'break ' to avoid fall-through If you fix the issue, kindly add following tag where applicable Mkdir build_dir & cp config build_dir/.configĬOMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/ drivers/input/joystick/ Git fetch -no-tags linux-review Nate-Yocom/Input-joystick-xpad-Add-X-Box-Adaptive-Controller-support/20220810-082302 [If your patch is applied to the wrong git tree, kindly drop us a note.Īnd when submitting patch, we suggest to use '-base' as documented inĬonfig: x86_64-randconfig-a016 ( clang version 16.0.0 ( 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520) Thank you for the patch! Perhaps something to improve: 0:20 Input: joystick: xpad: Add X-Box Adaptive Controller support Nate 6:08 ` kernel test robot 0 siblings, 0 replies 2+ messages in threadįrom: kernel test robot 6:08 UTC ( / raw)Ĭc: llvm, kbuild-all, linux-input, linux-kernel, nate ![]() * Re: Input: joystick: xpad: Add X-Box Adaptive Controller support ^ raw reply related 2+ messages in thread + /* setup layer buton as an axis with 4 possible values */ Xpad_set_up_abs(input_dev, xpad_abs_triggers) Input_set_abs_params(input_dev, abs, 0, 0, 0, -1714,6 +1732,10 static int xpad_init_input(struct usb_xpad *xpad) + input_set_abs_params(input_dev, abs, 0, 4, 0, 0) ![]() + case ABS_MISC: /* 4 value layer button (such as on the XAC) */ Input_set_abs_params(input_dev, abs, -1, 1, 0, 0) + input_report_abs(dev, ABS_MISC, -1622,6 +1638,8 static void xpad_set_up_abs(struct input_dev *input_dev, signed short abs)Ĭase ABS_HAT0Y: /* the d-pad (only if dpad is mapped to axes */ + /* Layer button has a value of 0-4, so its reported as an axis */ + input_report_key(dev, BTN_MODE, data & -926,6 +938,10 static void xpadone_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char + input_report_key(dev, BTN_MODE, data & 0x02) Which this change maps to an Axis control with 4 possible valuesĭrivers/input/joystick/xpad.c | 24 +++++++++++++++++++++++-ġ file changed, 23 insertions(+), 1 deletion(-)ĭiff -git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c The controller has an additional "Layer" button with 4 active states, The X-Box button sets 0x02 as its activation ID, where others set To: dmitry.torokhov +Cc: linux-input, linux-kernel, nateĪdds support for the X-Box Adaptive Controller, which is protocolĬompatible with the XTYPE_XBOXONE support in the driver with two deltas: 6:08 ` kernel test robot 0 siblings, 1 reply 2+ messages in thread Input: joystick: xpad: Add X-Box Adaptive Controller support All of help / color / mirror / Atom feed * Input: joystick: xpad: Add X-Box Adaptive Controller support 0:20 Nate Yocom
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |