This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9575 for ps


Ignore:
Timestamp:
05/29/11 23:12:09 (14 years ago)
Author:
philip
Message:

Work around problem with quote keys in Windows on an Apple machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/ps/Hotkey.cpp

    r8960 r9575  
    193193    }
    194194
     195    // Rather ugly hack to make the '"' key work better on a MacBook Pro on Windows so it doesn't
     196    // always close the console. (Maybe this would be better handled in wsdl or something?)
     197    if (keycode == SDLK_BACKQUOTE && (ev->ev.key.keysym.unicode == '\'' || ev->ev.key.keysym.unicode == '"'))
     198        keycode = ev->ev.key.keysym.unicode;
     199
    195200    // Somewhat hackish:
    196201    // Create phantom 'unified-modifier' events when left- or right- modifier keys are pressed
Note: See TracChangeset for help on using the changeset viewer.