Revision 999f8b6f

View differences:

MatrixScan.c
116 116
					break;
117 117
				case HID_KEYBOARD_SC_LEFT_SHIFT:
118 118
					ReportData->Modifier |= (1<<1);
119
					modOffset = 1;
119
					if(modOffset == 0){
120
						modOffset = 1;
121
					}
120 122
					break;
121 123
				case HID_KEYBOARD_SC_LEFT_ALT:
122 124
					ReportData->Modifier |= (1<<2);
......
129 131
					break;
130 132
				case HID_KEYBOARD_SC_RIGHT_SHIFT:
131 133
					ReportData->Modifier |= (1<<5);
132
					modOffset = 1;
134
					if(modOffset == 0){
135
						modOffset = 1;
136
					}
133 137
					break;
134 138
				case HID_KEYBOARD_SC_RIGHT_ALT:
135 139
					modOffset = 3;

Also available in: Unified diff