glthread: add more keys, switch yellow and blue

* switch F3/F4 yellow/blue to more natural order
* add +/- as volume plus-minus
* add . as mute key (was -)
This commit is contained in:
Stefan Seyfried
2012-10-31 15:37:53 +01:00
parent da312d2fc4
commit b71bcb6cc0

View File

@@ -121,8 +121,8 @@ void GLThreadObj::initKeys()
mSpecialMap[GLUT_KEY_F1] = CRCInput::RC_red;
mSpecialMap[GLUT_KEY_F2] = CRCInput::RC_green;
mSpecialMap[GLUT_KEY_F3] = CRCInput::RC_blue;
mSpecialMap[GLUT_KEY_F4] = CRCInput::RC_yellow;
mSpecialMap[GLUT_KEY_F3] = CRCInput::RC_yellow;
mSpecialMap[GLUT_KEY_F4] = CRCInput::RC_blue;
mSpecialMap[GLUT_KEY_PAGE_UP] = CRCInput::RC_page_up;
mSpecialMap[GLUT_KEY_PAGE_DOWN] = CRCInput::RC_page_down;
@@ -132,7 +132,9 @@ void GLThreadObj::initKeys()
mKeyMap['i'] = CRCInput::RC_info;
mKeyMap['m'] = CRCInput::RC_setup;
mKeyMap['-'] = CRCInput::RC_spkr;
mKeyMap['+'] = CRCInput::RC_plus;
mKeyMap['-'] = CRCInput::RC_minus;
mKeyMap['.'] = CRCInput::RC_spkr;
mKeyMap['h'] = CRCInput::RC_help;
mKeyMap['0'] = CRCInput::RC_0;