|
|
|
@ -61,15 +61,15 @@ void release_keys_not_being_pressed() {
|
|
|
|
|
// see if we're still holding it
|
|
|
|
|
// if we're not, call an explicit Release
|
|
|
|
|
|
|
|
|
|
if (charsReportedLastTime[i] != 0x00) {
|
|
|
|
|
// if there _was_ a character in this slot, go check the
|
|
|
|
|
// currently held characters
|
|
|
|
|
for (int j=0; j<KEYS_HELD_BUFFER; j++) {
|
|
|
|
|
if (charsReportedLastTime[i] == charsBeingReported[j]) {
|
|
|
|
|
// if's still held, we don't need to do anything.
|
|
|
|
|
charsReportedLastTime[i] = 0x00;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
if (charsReportedLastTime[i] != 0x00) {
|
|
|
|
|
// if there _was_ a character in this slot, go check the
|
|
|
|
|
// currently held characters
|
|
|
|
|
for (int j=0; j<KEYS_HELD_BUFFER; j++) {
|
|
|
|
|
if (charsReportedLastTime[i] == charsBeingReported[j]) {
|
|
|
|
|
// if's still held, we don't need to do anything.
|
|
|
|
|
charsReportedLastTime[i] = 0x00;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|