mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
back to 1.19 - silly me
This commit is contained in:
parent
900fc0e8fe
commit
b7a151c48b
1 changed files with 2 additions and 6 deletions
|
|
@ -384,11 +384,7 @@ public class Keyboard {
|
|||
*/
|
||||
public static boolean isKeyDown(int key) {
|
||||
assert created : "The keyboard has not been created.";
|
||||
// if (readBuffer != null) {
|
||||
// return Keyboard.key == key;
|
||||
// } else {
|
||||
return keyDownBuffer.get(key) != 0;
|
||||
// }
|
||||
return keyDownBuffer.get(key) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -429,4 +425,4 @@ public class Keyboard {
|
|||
} else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue