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

Method toggleMouse

client/src/main/java/jake2/client/IN.java:84–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 public static void toggleMouse() {
85 if (mouse_avail) {
86 mouse_avail = false;
87 DeactivateMouse();
88 } else {
89 mouse_avail = true;
90 ActivateMouse();
91 }
92 }
93
94 public static void Init() {
95 ClientGlobals.in_mouse = Cvar.getInstance().Get("in_mouse", "1", CVAR_ARCHIVE);

Callers 3

initMethod · 0.95
initMethod · 0.95
Real_IN_InitMethod · 0.95

Calls 2

DeactivateMouseMethod · 0.95
ActivateMouseMethod · 0.95

Tested by 2

initMethod · 0.76
initMethod · 0.76