OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Gamepad
(Results
1 - 6
of
6
) sorted by null
/external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/support/
Gamepad.java
22
public final class
Gamepad
extends JavaScriptObject {
24
protected
Gamepad
() {
56
public static
Gamepad
getGamepad(int index) {
GamepadSupport.java
30
private static IntMap<
Gamepad
> gamepads = new IntMap<
Gamepad
>();
31
private static IntMap<
Gamepad
> gamepadsTemp = new IntMap<
Gamepad
>();
48
JsArray<
Gamepad
> currentGamepads = nativePollGamepads();
53
Gamepad
gamepad
= currentGamepads.get(i);
local
54
if (
gamepad
!= null) {
55
if (!gamepadsTemp.containsKey(
gamepad
.getIndex())) {
56
onGamepadConnect(
gamepad
);
82
gamepad
s.put(
gamepad
.getIndex(),
gamepad
);
local
[
all
...]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/
GwtController.java
22
import com.badlogic.gdx.controllers.gwt.support.
Gamepad
;
43
Gamepad
gamepad
=
Gamepad
.getGamepad(index);
local
44
axes = new float[
gamepad
.getAxes().length()];
GwtControllers.java
23
import com.badlogic.gdx.controllers.gwt.support.
Gamepad
;
131
Gamepad
gamepad
=
Gamepad
.getGamepad(index);
local
132
GwtController controller = new GwtController(
gamepad
.getIndex(),
gamepad
.getId());
157
Gamepad
gamepad
=
Gamepad
.getGamepad(index);
local
159
if (
gamepad
!= null && controller != null)
[
all
...]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
Win32JoyStick.cpp
400
value = -(int)inputState.
Gamepad
.sThumbLY;
407
mState.mAxes[1].rel = inputState.
Gamepad
.sThumbLX - mState.mAxes[1].abs;
408
mState.mAxes[1].abs = inputState.
Gamepad
.sThumbLX;
414
value = -(int)inputState.
Gamepad
.sThumbRY;
421
mState.mAxes[3].rel = inputState.
Gamepad
.sThumbRX - mState.mAxes[3].abs;
422
mState.mAxes[3].abs = inputState.
Gamepad
.sThumbRX;
427
value = inputState.
Gamepad
.bLeftTrigger * 129;
437
value = (int)inputState.
Gamepad
.bRightTrigger * 129;
450
if (inputState.
Gamepad
.wButtons & XINPUT_GAMEPAD_DPAD_UP)
452
else if (inputState.
Gamepad
.wButtons & XINPUT_GAMEPAD_DPAD_DOWN
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
xinput.h
175
XINPUT_GAMEPAD
Gamepad
;
201
XINPUT_GAMEPAD
Gamepad
;
Completed in 196 milliseconds