mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
trying to write a new ingamecontroller so that its update can be manually controlled
This commit is contained in:
@@ -33,7 +33,7 @@ object KeyToggler {
|
||||
* Set ```toggleGameKeys = true``` to make toggling work for keys like Q, W, E, ...; otherwise only F1-F12 keys will be toggled
|
||||
*/
|
||||
fun update(toggleGameKeys: Boolean) {
|
||||
for (it in 0..255) {
|
||||
for (it in 1..255) {
|
||||
if (!toggleGameKeys && gameKeys.contains(it)) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user