VirtualBox

Changeset 4554 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 5, 2007 11:58:24 PM (17 years ago)
Author:
vboxsync
Message:

The X11 key translation doesn't work on solaris, using the fallback method for now.

File:
1 edited

Legend:

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

    r4071 r4554  
    410410}
    411411
    412 #if defined(RT_OS_DARWIN)
     412#if defined(RT_OS_DARWIN) || defined(RT_OS_SOLARIS)
    413413/**
    414414 * Fallback keycode conversion using SDL symbols.
     
    585585    keycode = ev->keysym.scancode;
    586586
    587 #ifdef VBOXBFE_WITH_X11 /// @todo verify that these are X11 issues and not unique linux issues.
     587#if defined(VBOXBFE_WITH_X11) && !defined(RT_OS_SOLARIS) /// @todo verify that these are X11 issues and not unique linux issues.
     588                                                         // -> doesn't seem to work on solaris...
    588589    // workaround for SDL keyboard translation issues on X11
    589590    static const uint8_t x_keycode_to_pc_keycode[61] =
     
    844845#endif
    845846
     847#elif defined(RT_OS_SOLARIS)
     848    /*
     849     * For now, just use the fallback code.
     850     */
     851    keycode = Keyevent2KeycodeFallback(ev);
    846852#endif
    847853    return keycode;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette