mirror of
https://github.com/encounter/SDL.git
synced 2025-12-12 06:45:10 +00:00
OCD fixes: Adds a space before */
This commit is contained in:
@@ -52,7 +52,7 @@ struct _SDL_HatMapping
|
||||
*/
|
||||
#define k_nMaxHatEntries 0x3f + 1
|
||||
|
||||
/* our in memory mapping db between joystick objects and controller mappings*/
|
||||
/* our in memory mapping db between joystick objects and controller mappings */
|
||||
struct _SDL_ControllerMapping
|
||||
{
|
||||
SDL_JoystickGUID guid;
|
||||
|
||||
@@ -488,14 +488,14 @@ SDL_PrivateJoystickShouldIgnoreEvent()
|
||||
|
||||
if (SDL_WasInit(SDL_INIT_VIDEO)) {
|
||||
if (SDL_GetKeyboardFocus() == NULL) {
|
||||
/* Video is initialized and we don't have focus, ignore the event.*/
|
||||
/* Video is initialized and we don't have focus, ignore the event. */
|
||||
return SDL_TRUE;
|
||||
} else {
|
||||
return SDL_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Video subsystem wasn't initialized, always allow the event*/
|
||||
/* Video subsystem wasn't initialized, always allow the event */
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
@@ -771,7 +771,7 @@ SDL_SYS_JoystickInit(void)
|
||||
("Joystick: Failed to get HID CFMutableDictionaryRef via IOServiceMatching.");
|
||||
}
|
||||
|
||||
/*/ Now search I/O Registry for matching devices. */
|
||||
/ */ Now search I/O Registry for matching devices. */
|
||||
result =
|
||||
IOServiceGetMatchingServices(masterPort, hidMatchDictionary,
|
||||
&hidObjectIterator);
|
||||
|
||||
Reference in New Issue
Block a user