Corrected spelling in C source files.
This commit is contained in:
parent
2b271666be
commit
5b428b875f
3 changed files with 8 additions and 8 deletions
|
@ -49,7 +49,7 @@ static struct
|
|||
char name[256]; /* Name of the device. */
|
||||
|
||||
io_service_t dev; /* Node we use to create the device. */
|
||||
SDL_Haptic *haptic; /* Haptic currently assosciated with it. */
|
||||
SDL_Haptic *haptic; /* Haptic currently associated with it. */
|
||||
|
||||
/* Usage pages for determining if it's a mouse or not. */
|
||||
long usage;
|
||||
|
@ -259,7 +259,7 @@ HIDGetDeviceProduct(io_service_t dev, char *name)
|
|||
}
|
||||
|
||||
/* Mac OS X currently is not mirroring all USB properties to HID page so need to look at USB device page also
|
||||
* get dictionary for usb properties: step up two levels and get CF dictionary for USB properties
|
||||
* get dictionary for USB properties: step up two levels and get CF dictionary for USB properties
|
||||
*/
|
||||
if ((KERN_SUCCESS ==
|
||||
IORegistryEntryGetParentEntry(dev, kIOServicePlane, &parent1))
|
||||
|
@ -272,7 +272,7 @@ HIDGetDeviceProduct(io_service_t dev, char *name)
|
|||
if (usbProperties) {
|
||||
CFTypeRef refCF = 0;
|
||||
/* get device info
|
||||
* try hid dictionary first, if fail then go to usb dictionary
|
||||
* try hid dictionary first, if fail then go to USB dictionary
|
||||
*/
|
||||
|
||||
|
||||
|
@ -708,7 +708,7 @@ SDL_SYS_ToFFEFFECT(SDL_Haptic * haptic, FFEFFECT * dest,
|
|||
}
|
||||
|
||||
|
||||
/* The big type handling switch, even bigger then linux's version. */
|
||||
/* The big type handling switch, even bigger then Linux's version. */
|
||||
switch (src->type) {
|
||||
case SDL_HAPTIC_CONSTANT:
|
||||
hap_constant = &src->constant;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue