From b71bcb6cc01cc2c8a89aba16cbee4b3ba85ca330 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 31 Oct 2012 15:37:53 +0100 Subject: [PATCH] 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 -) --- src/driver/glthread.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/driver/glthread.cpp b/src/driver/glthread.cpp index b137c072b..0219b93a0 100644 --- a/src/driver/glthread.cpp +++ b/src/driver/glthread.cpp @@ -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;