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

Method ActivateMouse

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

Source from the content-addressed store, hash-verified

55 static boolean mlooking;
56
57 public static void ActivateMouse() {
58 if (!mouse_avail)
59 return;
60 if (!mouse_active) {
61 KBD.mx = KBD.my = 0; // don't spazz
62 install_grabs();
63 mouse_active = true;
64 }
65 }
66
67 public static void DeactivateMouse() {
68 // if (!mouse_avail || c == null) return;

Callers 2

toggleMouseMethod · 0.95
FrameMethod · 0.95

Calls 1

install_grabsMethod · 0.95

Tested by

no test coverage detected