generic-pc/glfb: use r/g/y/b keys as additional color keys

This commit is contained in:
martii
2013-06-01 12:29:30 +02:00
parent a89b6f294e
commit 8b533c3c59

View File

@@ -151,6 +151,12 @@ void GLFramebuffer::initKeys()
mKeyMap['7'] = KEY_7;
mKeyMap['8'] = KEY_8;
mKeyMap['9'] = KEY_9;
#ifdef MARTII
mKeyMap['r'] = KEY_RED;
mKeyMap['g'] = KEY_GREEN;
mKeyMap['y'] = KEY_YELLOW;
mKeyMap['b'] = KEY_BLUE;
#endif
}
void GLFramebuffer::run()