- //case 81: sendButton( ( e.altKey ? 'REBOOT' : 'w' ) ); break; // ALT-Q = reboot, Q = Power
- case 38: sendButton( 'ymhprgup' ); break; //up
- case 37: sendButton( 'ymhminus' ); break; //left
- //case 13: sendButton( '' ); break; //enter
- case 39: sendButton( 'ymhplus' ); break; //right
- case 40: sendButton( 'ymhprgdown' ); break; //down
- //case 8: sendButton( 'T_back' ); break; //backspace
- //case 27: sendButton( 't_stop' ); break; // ESC
- case 77: sendButton( 'ymhmenu' ); break; // M
- case 84: sendButton( 'ymhtimelevel' ); break; // T
- //case 32: sendButton( '' ); break; // Space
- case 83: sendButton( 'ymhsleep' ); break; // S
- case 36: sendButton( 'ymhmute' ); break; //pos1
- case 33: sendButton( 'ymhvolup' ); break; // P = 80, PAGEUP = 33
- case 34: sendButton( 'ymhvoldown' ); break; // N = 78, PAGEDOWN = 34
- case 43: sendButton( 'ymhtunplus' ); break; // +
- case 65: sendButton( 'ymhtunabcde' ); break; // A
- case 69: sendButton( 'ymheffect' ); break; // E
- case 80: sendButton( 'ymhpower' ); break; // P
- case 48: sendButton( 'ymhtest' ); break; // 0
- case 49: sendButton( 'ymhcd' ); break; // 1
- case 50: sendButton( 'ymhtuner' ); break; // 2
- case 51: sendButton( 'ymhtape' ); break; // 3
- case 52: sendButton( 'ymhwdtv' ); break; // 4
- //case 53: sendButton( 'ymhsat' ); break; // 5
- case 54: sendButton( 'ymhvcr' ); break; // 6
- //case 55: sendButton( '' ); break; // 7
- case 56: sendButton( 'ymhaux' ); break; // 8
- case 57: sendButton( 'ymhextdec' ); break; // 9
+ //case 81: sendYmhButton( ( e.altKey ? 'REBOOT' : 'w' ) ); break; // ALT-Q = reboot, Q = Power
+ case 38: sendYmhButton( 'ymhprgup' ); break; //up
+ case 37: sendYmhButton( 'ymhminus' ); break; //left
+ //case 13: sendYmhButton( '' ); break; //enter
+ case 39: sendYmhButton( 'ymhplus' ); break; //right
+ case 40: sendYmhButton( 'ymhprgdown' ); break; //down
+ //case 8: sendYmhButton( 'T_back' ); break; //backspace
+ //case 27: sendYmhButton( 't_stop' ); break; // ESC
+ case 77: sendYmhButton( 'ymhmenu' ); break; // M
+ case 84: sendYmhButton( 'ymhtimelevel' ); break; // T
+ //case 32: sendYmhButton( '' ); break; // Space
+ case 83: sendYmhButton( 'ymhsleep' ); break; // S
+ case 36: sendYmhButton( 'ymhmute' ); break; //pos1
+ case 33: sendYmhButton( 'ymhvolup' ); break; // P = 80, PAGEUP = 33
+ case 43: sendYmhButton( 'ymhvolup' ); break; // +
+ case 34: sendYmhButton( 'ymhvoldown' ); break; // N = 78, PAGEDOWN = 34
+ case 45: sendYmhButton( 'ymhvoldown' ); break; // -
+ case 46: sendYmhButton( 'ymhtunplus' ); break; // .
+ case 44: sendYmhButton( 'ymhtunminus' ); break; // ,
+ case 59: sendYmhButton( 'ymhtunabcde' ); break; // ;
+ case 69: sendYmhButton( 'ymheffect' ); break; // E
+ case 80: sendYmhButton( 'ymhpower' ); break; // P
+ case 48: sendYmhButton( 'ymhtest' ); break; // 0
+ case 49: sendYmhButton( 'ymhcd' ); break; // 1
+ case 50: sendYmhButton( 'ymhtuner' ); break; // 2
+ case 51: sendYmhButton( 'ymhtape' ); break; // 3
+ case 52: sendYmhButton( 'ymhwdtv' ); break; // 4
+ case 53: sendYmhButton( 'ymhsattv' ); break; // 5
+ case 54: sendYmhButton( 'ymhvcr' ); break; // 6
+ case 55: sendYmhButton( 'ymh7' ); break; // 7
+ case 56: sendYmhButton( 'ymhaux' ); break; // 8
+ case 57: sendYmhButton( 'ymhextdec' ); break; // 9