Java Code Examples for com.jme3.input.MouseInput#AXIS_Y
The following examples show how to use
com.jme3.input.MouseInput#AXIS_Y .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MouseAxisTrigger.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 5 votes |
@Override public String getName() { String sign = negative ? "Negative" : "Positive"; switch (mouseAxis){ case MouseInput.AXIS_X: return "Mouse X Axis " + sign; case MouseInput.AXIS_Y: return "Mouse Y Axis " + sign; case MouseInput.AXIS_WHEEL: return "Mouse Wheel " + sign; default: throw new AssertionError(); } }
Example 2
Source File: MouseAxisTrigger.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 5 votes |
public String getName() { String sign = negative ? "Negative" : "Positive"; switch (mouseAxis){ case MouseInput.AXIS_X: return "Mouse X Axis " + sign; case MouseInput.AXIS_Y: return "Mouse Y Axis " + sign; case MouseInput.AXIS_WHEEL: return "Mouse Wheel " + sign; default: throw new AssertionError(); } }