VirtualBox

Changeset 6886

Show
Ignore:
Timestamp:
02/11/08 10:38:16 (10 months ago)
Author:
vboxsync
Message:

FE/SDL: OS/2 keyboard fixes [contributed by Paul Smedley].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp

    r6238 r6886  
    435435} 
    436436 
    437 #if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) 
     437#if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS) || defined(RT_OS_OS2) 
    438438/** 
    439439 * Fallback keycode conversion using SDL symbols. 
     
    874874#endif 
    875875 
    876 #elif defined(RT_OS_SOLARIS) 
     876#elif defined(RT_OS_SOLARIS) || defined(RT_OS_OS2) 
    877877    /* 
    878878     * For now, just use the fallback code. 
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r6853 r6886  
    26092609} 
    26102610 
    2611 #if defined(RT_OS_DARWIN) 
     2611#if defined(RT_OS_DARWIN) || defined(RT_OS_OS2) 
    26122612/** 
    26132613 * Fallback keycode conversion using SDL symbols. 
     
    30563056#endif 
    30573057 
     3058#elif RT_OS_OS2 
     3059        keycode = Keyevent2KeycodeFallback(ev); 
    30583060#endif /* RT_OS_DARWIN */ 
    30593061    return keycode; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy