OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:trackball
(Results
1 - 3
of
3
) sorted by null
/external/qemu/android/
qemulator.h
31
SkinTrackBall*
trackball
;
member in struct:__anon24738
qemulator.c
69
emulator->
trackball
= ball;
173
if (emulator->
trackball
) {
174
skin_trackball_destroy(emulator->
trackball
);
175
emulator->
trackball
= NULL;
237
p = bufprint(p, end, " to leave
trackball
mode. ");
382
// for the show-
trackball
command, handle down events to enable, and
475
if (emulator->
trackball
) {
476
skin_trackball_set_rotation( emulator->
trackball
, rotation );
477
skin_window_set_trackball( emulator->window, emulator->
trackball
);
/external/replicaisland/src/com/replica/replicaisland/
InputGameInterface.java
29
// Raw
trackball
input is filtered by this value. Increasing it will
116
// keys or
trackball
117
final InputXY
trackball
= input.getTrackball();
local
124
if (
trackball
.getLastPressedTime() > Math.max(leftPressedTime, rightPressedTime)) {
125
// The
trackball
never goes "up", so force it to turn off if it wasn't triggered in the last frame.
126
// What follows is a bunch of code to filter
trackball
events into something like a dpad event.
131
if (gameTime -
trackball
.getLastPressedTime() < ROLL_TIMEOUT) {
136
newX = mDirectionalPad.getX() + (
trackball
.getX() * ROLL_FILTER * mMovementSensitivity);
137
newY = mDirectionalPad.getY() + (
trackball
.getY() * ROLL_FILTER * mMovementSensitivity);
141
newX = oldX + (
trackball
.getX() * ROLL_FILTER * mMovementSensitivity)
[
all
...]
Completed in 54 milliseconds