Mercurial > sdl-ios-xcode
diff src/video/ataricommon/SDL_biosevents.c @ 2043:adf732f1f016
Formatting update
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 15:56:55 +0000 |
parents | b657f0bc72c2 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_biosevents.c Sun Sep 24 15:56:36 2006 +0000 +++ b/src/video/ataricommon/SDL_biosevents.c Sun Sep 24 15:56:55 2006 +0000 @@ -61,8 +61,8 @@ vectors_mask |= ATARI_XBIOS_MOUSEEVENTS; /* XBIOS mouse events */ } /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) { - vectors_mask = 0; - }*/ + vectors_mask = 0; + } */ SDL_AtariXbios_InstallVectors(vectors_mask); } @@ -78,8 +78,9 @@ while (Bconstat(_CON)) { unsigned long key_pressed; - key_pressed=Bconin(_CON); - bios_currentkeyboard[(key_pressed>>16)&(ATARIBIOS_MAXKEYS-1)]=0xFF; + key_pressed = Bconin(_CON); + bios_currentkeyboard[(key_pressed >> 16) & (ATARIBIOS_MAXKEYS - 1)] = + 0xFF; } /* Read special keys */ @@ -95,7 +96,8 @@ /* Key unpressed ? */ if (bios_previouskeyboard[i] && !bios_currentkeyboard[i]) SDL_PrivateKeyboard(SDL_RELEASED, - SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE)); + SDL_Atari_TranslateKey(i, &keysym, + SDL_FALSE)); } if (use_dev_mouse) {