A keyboard handler is a Function , Boolean>>, that is a function that takes a transition between two MouseStates and returns a boolean, whether or not it ever wants to be called again
(Function<Event<MouseState>, Boolean> h)
| 687 | if ((after.mods & GLFW_MOD_CONTROL) != 0) |
| 688 | after.keyboardState = after.keyboardState.withKey(GLFW_KEY_LEFT_CONTROL, true); |
| 689 | else after.keyboardState = after.keyboardState.withKey(GLFW_KEY_LEFT_CONTROL, false) |
| 690 | .withKey(GLFW_KEY_RIGHT_CONTROL, false); |
| 691 | if ((after.mods & GLFW_MOD_ALT) != 0) |
| 692 | after.keyboardState = after.keyboardState.withKey(GLFW_KEY_LEFT_ALT, true); |
| 693 | else after.keyboardState = after.keyboardState.withKey(GLFW_KEY_LEFT_ALT, false) |
| 694 | .withKey(GLFW_KEY_RIGHT_ALT, false); |
| 695 | if ((after.mods & GLFW_MOD_SUPER) != 0) |
no test coverage detected