mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
*** empty log message ***
This commit is contained in:
parent
0de7e16140
commit
aa9e183c7f
4 changed files with 38 additions and 27 deletions
|
|
@ -211,13 +211,19 @@ public class Mouse {
|
|||
return;
|
||||
}
|
||||
nCreate();
|
||||
hasWheel = nHasWheel();
|
||||
created = true;
|
||||
currentCursor = null;
|
||||
|
||||
// set mouse buttons
|
||||
buttonCount = nGetButtonCount();
|
||||
buttons = new boolean[buttonCount];
|
||||
}
|
||||
|
||||
private static native boolean nHasWheel();
|
||||
|
||||
private static native int nGetButtonCount();
|
||||
|
||||
/**
|
||||
* Native method to create the mouse.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue