Big restructuring of how the video plugin works. In linux and windows you shouldn't see a change in the functionality; however, there are changes in how render to main or not, and fullscreen modes, and such are handled. Input is largely restructured for the video plugin. It is now handled by the host. Keys for pausing and changing fullscreen are configurable. More will probably be later. This is probably classified as highly experimental.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5336 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-04-12 01:33:10 +00:00
parent ba853e682c
commit 33a64d5db0
53 changed files with 1003 additions and 1649 deletions

View file

@ -112,10 +112,16 @@ KeySym wxCharCodeWXToX(int id)
return keySym;
}
#else
KeySym wxCharCodeWXToX(int id)
int wxKeyModWXToX(int modstate)
{
return NULL;
int xstate = 0;
if (modstate & wxMOD_ALT)
xstate |= 8;
if (modstate & wxMOD_SHIFT)
xstate |= 1;
if (modstate & wxMOD_CONTROL)
xstate |= 4;
return xstate;
}
#endif
void XKeyToString(unsigned int keycode, char *keyStr) {