ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/video_sdl.cpp
(Generate patch)

Comparing BasiliskII/src/SDL/video_sdl.cpp (file contents):
Revision 1.17 by gbeauche, 2005-03-19T05:34:15Z vs.
Revision 1.18 by gbeauche, 2005-03-20T23:43:17Z

# Line 1381 | Line 1381 | static int kc_decode(SDL_keysym const &
1381  
1382          case SDLK_1: case SDLK_EXCLAIM: return 0x12;
1383          case SDLK_2: case SDLK_AT: return 0x13;
1384 < //      case SDLK_3: case SDLK_numbersign: return 0x14;
1384 >        case SDLK_3: case SDLK_HASH: return 0x14;
1385          case SDLK_4: case SDLK_DOLLAR: return 0x15;
1386 < //      case SDLK_5: case SDLK_percent: return 0x17;
1386 >        case SDLK_5: return 0x17;
1387          case SDLK_6: return 0x16;
1388          case SDLK_7: return 0x1a;
1389          case SDLK_8: return 0x1c;
1390          case SDLK_9: return 0x19;
1391          case SDLK_0: return 0x1d;
1392  
1393 < //      case SDLK_BACKQUOTE: case SDLK_asciitilde: return 0x0a;
1393 >        case SDLK_BACKQUOTE: return 0x0a;
1394          case SDLK_MINUS: case SDLK_UNDERSCORE: return 0x1b;
1395          case SDLK_EQUALS: case SDLK_PLUS: return 0x18;
1396 < //      case SDLK_bracketleft: case SDLK_braceleft: return 0x21;
1397 < //      case SDLK_bracketright: case SDLK_braceright: return 0x1e;
1398 < //      case SDLK_BACKSLASH: case SDLK_bar: return 0x2a;
1396 >        case SDLK_LEFTBRACKET: return 0x21;
1397 >        case SDLK_RIGHTBRACKET: return 0x1e;
1398 >        case SDLK_BACKSLASH: return 0x2a;
1399          case SDLK_SEMICOLON: case SDLK_COLON: return 0x29;
1400 < //      case SDLK_apostrophe: case SDLK_QUOTEDBL: return 0x27;
1400 >        case SDLK_QUOTE: case SDLK_QUOTEDBL: return 0x27;
1401          case SDLK_COMMA: case SDLK_LESS: return 0x2b;
1402          case SDLK_PERIOD: case SDLK_GREATER: return 0x2f;
1403          case SDLK_SLASH: case SDLK_QUESTION: return 0x2c;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines