Home
last modified time | relevance | path

Searched refs:mouseButton (Results 1 – 7 of 7) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacMouse.cpp259 int mouseButton = 3; in _mouseCallback() local
271 mouseButton = 2; in _mouseCallback()
272 mState.buttons |= 1 << mouseButton; in _mouseCallback()
276 mouseButton = 1; in _mouseCallback()
277 mState.buttons |= 1 << mouseButton; in _mouseCallback()
281 mouseButton = 0; in _mouseCallback()
282 mState.buttons |= 1 << mouseButton; in _mouseCallback()
286 mListener->mousePressed( MouseEvent( this, mState ), (MouseButtonID)mouseButton ); in _mouseCallback()
293 int mouseButton = 3; in _mouseCallback() local
332 mouseButton = 2; in _mouseCallback()
[all …]
DCocoaMouse.mm175 int mouseButton = MB_Left;
184 mouseButton = MB_Middle;
188 mouseButton = MB_Right;
192 mouseButton = MB_Left;
194 state->buttons |= 1 << mouseButton;
196 …>getEventCallback()->mousePressed( MouseEvent( oisMouseObj, *state ), (MouseButtonID)mouseButton );
200 int mouseButton = MB_Left;
206 mouseButton = MB_Middle;
210 mouseButton = MB_Right;
214 mouseButton = MB_Left;
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
DWin32Mouse.cpp194 bool Win32Mouse::_doMouseClick( int mouseButton, DIDEVICEOBJECTDATA& di ) in _doMouseClick() argument
198 mState.buttons |= 1 << mouseButton; //turn the bit flag on in _doMouseClick()
200 return mListener->mousePressed( MouseEvent( this, mState ), (MouseButtonID)mouseButton ); in _doMouseClick()
204 mState.buttons &= ~(1 << mouseButton); //turn the bit flag off in _doMouseClick()
206 return mListener->mouseReleased( MouseEvent( this, mState ), (MouseButtonID)mouseButton ); in _doMouseClick()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/win32/
DWin32Mouse.h50 bool _doMouseClick( int mouseButton, DIDEVICEOBJECTDATA& di );
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/
Dcocoa.diff1259 + int mouseButton = MB_Left;
1268 + mouseButton = MB_Middle;
1272 + mouseButton = MB_Right;
1276 + mouseButton = MB_Left;
1278 + state->buttons |= 1 << mouseButton;
1280 …>getEventCallback()->mousePressed( MouseEvent( oisMouseObj, *state ), (MouseButtonID)mouseButton );
1284 + int mouseButton = MB_Left;
1290 + mouseButton = MB_Middle;
1294 + mouseButton = MB_Right;
1298 + mouseButton = MB_Left;
[all …]
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
DSDLActivity.java1233 int mouseButton; in onTouch() local
1240 mouseButton = 1; // For Android==12 all mouse buttons are the left button in onTouch()
1243mouseButton = (Integer) event.getClass().getMethod("getButtonState").invoke(event); in onTouch()
1245 mouseButton = 1; // oh well. in onTouch()
1248 SDLActivity.onNativeMouse(mouseButton, action, event.getX(0), event.getY(0)); in onTouch()
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwInput.java861 public void mouseButton (long window, int button, boolean pressed) { in mouseButton() method in JglfwInput.GlfwInputProcessor