Fix spelling/wording issues

Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2022-01-16 11:01:54 -08:00
parent aca8dee2b3
commit 758adebe13
8 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
The master development code repository can be found at:
The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/driver/xf86-input-joystick

View File

@@ -380,7 +380,7 @@ You might also want to set the device "floating" to stop it from reporting core
.SH "NOTES"
It is not recommended to enable the
.B joystick
input driver by default unless explicitely requested by the user.
input driver by default unless explicitly requested by the user.
Configuration through
.I InputClass

View File

@@ -230,7 +230,7 @@ jstkCloseDevice_bsd(JoystickDevPtr joystick)
*
* Reads data from fd and stores it in the JoystickDevRec struct
* fills in the type of event and the number of the button/axis
* return 1 if success, 0 otherwise. Success does not neccessarily
* return 1 if success, 0 otherwise. Success does not necessarily
* mean that there is a new event waiting.
*
***********************************************************************

View File

@@ -226,7 +226,7 @@ jstkCloseDevice_evdev(JoystickDevPtr joystick)
*
* Reads data from fd and stores it in the JoystickDevRec struct
* fills in the type of event and the number of the button/axis
* return 1 if success, 0 otherwise. Success does not neccessarily
* return 1 if success, 0 otherwise. Success does not necessarily
* mean that there is a new event waiting.
*
***********************************************************************

View File

@@ -139,7 +139,7 @@ jstkOpenDevice_joystick(JoystickDevPtr joystick, Bool probe)
*
* Reads data from fd and stores it in the JoystickDevRec struct
* fills in the type of event and the number of the button/axis
* return 1 if success, 0 otherwise. Success does not neccessarily
* return 1 if success, 0 otherwise. Success does not necessarily
* mean that there is a new event waiting.
*
***********************************************************************

View File

@@ -107,7 +107,7 @@ typedef struct _JoystickDevRec {
jstkOpenDeviceProc open_proc; /* Call for re-open backend */
jstkCloseDeviceProc close_proc; /* Callback for closing the backend */
jstkReadDataProc read_proc; /* Callback for reading data from the backend */
void *devicedata; /* Extra platform device dependend data */
void *devicedata; /* Extra platform device dependent data */
char *device; /* Name of the device */
InputInfoPtr joystick_device; /* Back pointer to the joystick device */
InputInfoPtr keyboard_device; /* Slave device for keyboard events */

View File

@@ -125,7 +125,7 @@ jstkAxisTimer(OsTimerPtr timer,
*
* a >>= 1.414
*
* the following formula achieves results inbetween,
* the following formula achieves results in between,
* so it should feel natural on both devices while maintaining a
* nice acceleration:
*

View File

@@ -78,7 +78,7 @@ jstkGetAxisMapping(float *value, const char* param, const char* name)
*
* jstkParseButtonOption --
*
* Interpretes one ButtonMappingX option, given in 'org'
* Interprets one ButtonMappingX option, given in 'org'
* stores the result in *button
* name is the name of the InputDevice
*
@@ -163,7 +163,7 @@ jstkParseButtonOption(const char* org,
*
* jstkParseAxisOption --
*
* Interpretes one AxisMappingX option, given in 'org'
* Interprets one AxisMappingX option, given in 'org'
* stores the result in *axis
* name is the name of the InputDevice
*