MCPcopy Create free account
hub / github.com/demoth/jake2 / ClearStates

Method ClearStates

client/src/main/java/jake2/client/Key.java:966–977  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

964 }
965
966 static void ClearStates() {
967 int i;
968
969 Key.anykeydown = 0;
970
971 for (i = 0; i < 256; i++) {
972 if (ClientGlobals.keydown[i] || key_repeats[i]!=0)
973 Event(i, false, 0);
974 ClientGlobals.keydown[i] = false;
975 key_repeats[i] = 0;
976 }
977 }
978
979 static void WriteBindings(RandomAccessFile f) {
980 for (int i = 0; i < 256; i++)

Callers 1

ForceMenuOffMethod · 0.95

Calls 1

EventMethod · 0.95

Tested by

no test coverage detected