You need another close curly brace after the end of the switch statement, just before the 'int getIRKey() {' line. I believe the IDE has an option to indent code, and if you use it, it can help identify where you are missing closing brackets.
You need another close curly brace after the end of the switch statement, just before the 'int getIRKey() {' line. I believe the IDE has an option to indent code, and if you use it, it can help identify where you are missing closing brackets.