xpad: Spelling fixes for "Xbox", improve and proofread the listed xpad device names
Subsystems (3)
PATCH v2 1/1 xpad: Spelling fixes for "Xbox", improve and proofread the listed xpad device names
The Linux kernel is notorious for misspelling X-Box, X-box, XBox or XBOX; the official spelling is actually just Xbox. Plain and simple.
Tried to respect the existing notes but still following the style guide. No functional changes intended. This only affects ancillary parts.
Sounds trivial, but this makes it easier to search the correct entries in xmenu by name. It has always been a pet peeve of mine.
---
This is sort of a re-send from July 30, 2020: https://patchwork.kernel.org/project/linux-input/patch/[email protected]/
Changes in v2:
* I have gotten rid of/split off the actual gamepad name cleanup for easier merging and now this only covers comments and other miscellaneous tags in the build system.
Cameron Gutman wasn't sure if changing the existing pad names would affect userland applications. So now it's simpler.
Maybe I'll resubmit the rest in the future, if I have more time.
Documentation/input/devices/xpad.rst | 10 ++--- Documentation/input/gamepad.rst | 2 +- drivers/input/joystick/Kconfig | 14 +++--- drivers/input/joystick/xpad.c | 64 ++++++++++++++-------------- 4 files changed, 45 insertions(+), 45 deletions(-)
Documentation/input/devices/xpad.rst +5 -5
@@ -4,16 +4,16 @@ xpad - Linux USB driver for Xbox compatible controllers This driver exposes all first-party and third-party Xbox compatible controllers. It has a long history and has enjoyed considerable usage -as Window's xinput library caused most PC games to focus on Xbox +as Windows' xinput library caused most PC games to focus on Xbox controller compatibility. Due to backwards compatibility all buttons are reported as digital. -This only effects Original Xbox controllers. All later controller models +This only affects Original Xbox controllers. All later controller models have only digital face buttons. Rumble is supported on some models of Xbox 360 controllers but not of Original Xbox controllers nor on Xbox One controllers. As of writing -the Xbox One's rumble protocol has not been reverse engineered but in +the Xbox One's rumble protocol has not been reverse-engineered but in the future could be supported.
@@ -82,7 +82,7 @@ I've tested this with Stepmania, and it works quite well. Unknown Controllers ------------------- -If you have an unknown xbox controller, it should work just fine with +If you have an unknown Xbox controller, it should work just fine with the default settings. HOWEVER if you have an unknown dance pad not listed below, it will not
@@ -123,7 +123,7 @@ can be found on the net ([1]_, [2]_, [3]_). Thanks to the trip splitter found on the cable you don't even need to cut the original one. You can buy an extension cable and cut that instead. That way, -you can still use the controller with your X-Box, if you have one ;) +you can still use the controller with your Xbox, if you have one ;)
Documentation/input/gamepad.rst +1 -1
@@ -184,7 +184,7 @@ Gamepads report the following events: Many pads also have a third button which is branded or has a special symbol and meaning. Such buttons are mapped as BTN_MODE. Examples are the Nintendo - "HOME" button, the XBox "X"-button or Sony "PS" button. + "HOME" button, the Xbox "X" button or the Sony PlayStation "PS" button. - Rumble:
drivers/input/joystick/Kconfig +7 -7
@@ -291,33 +291,33 @@ config JOYSTICK_JOYDUMP module will be called joydump. config JOYSTICK_XPAD - tristate "X-Box gamepad support" + tristate "Xbox gamepad support" depends on USB_ARCH_HAS_HCD select USB help - Say Y here if you want to use the X-Box pad with your computer. + Say Y here if you want to use Xbox pads with your computer. Make sure to say Y to "Joystick support" (CONFIG_INPUT_JOYDEV) and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well. - For information about how to connect the X-Box pad to USB, see + For information about how to connect the Xbox pad to USB, see <file:Documentation/input/devices/xpad.rst>. To compile this driver as a module, choose M here: the module will be called xpad. config JOYSTICK_XPAD_FF - bool "X-Box gamepad rumble support" + bool "Xbox gamepad rumble support" depends on JOYSTICK_XPAD && INPUT select INPUT_FF_MEMLESS help - Say Y here if you want to take advantage of xbox 360 rumble features. + Say Y here if you want to take advantage of Xbox 360 rumble features. config JOYSTICK_XPAD_LEDS - bool "LED Support for Xbox360 controller 'BigX' LED" + bool "LED Support for the Xbox 360 controller Guide button" depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD) help This option enables support for the LED which surrounds the Big X on - XBox 360 controller. + Xbox 360 controllers. config JOYSTICK_WALKERA0701 tristate "Walkera WK-0701 RC transmitter"
drivers/input/joystick/xpad.c +32 -32
113 lines not on this page · raw message
Signature · 1 line
2.34.1
Dmitry Torokhov
maintainerQuoted 11 lines · Ismael Ferreras Morezuelas
The Linux kernel is notorious for misspelling X-Box, X-box, XBox or XBOX; the official spelling is actually just Xbox. Plain and simple.
Tried to respect the existing notes but still following the style guide. No functional changes intended. This only affects ancillary parts.
Sounds trivial, but this makes it easier to search the correct entries in xmenu by name. It has always been a pet peeve of mine.
Signed-off-by Ismael Ferreras Morezuelas <[email protected]>---
Adjusted the patch description a little to remove mention searching by name (since user-visible names are not touched), and applied.
Thanks.
Signature · 1 line
Dmitry