mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Add Ctrl+X for roomname translator mode
This is a single block of code so it was easy to split from the foundation commit. This commit is part of rewritten history of the localization branch. The original (unsquashed) commit history can be found here: https://github.com/Dav999-v/VVVVVV/tree/localization-orig
This commit is contained in:
parent
df76145314
commit
34cb42a19f
1 changed files with 8 additions and 0 deletions
|
@ -196,6 +196,14 @@ void KeyPoll::Poll(void)
|
|||
VVV_free(text);
|
||||
}
|
||||
}
|
||||
else if ( evt.key.keysym.sym == SDLK_x &&
|
||||
keymap[SDLK_LCTRL] )
|
||||
{
|
||||
if (SDL_SetClipboardText(keybuffer.c_str()) == 0)
|
||||
{
|
||||
keybuffer = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue