Home
last modified time | relevance | path

Searched refs:axes (Results 1 – 9 of 9) sorted by relevance

/haiku/headers/private/device/
H A Djoystick_driver.h35 int16 axes[MAX_AXES]; /* -32768 to 32767, X, Y, Z, U, V, W */ member
64 axes = (int16 *)&buttons[button_blocks]; in initialize()
65 hats = (uint8 *)&axes[axis_count]; in initialize()
85 int16 * axes; member
/haiku/src/tests/kits/device/stickit_BJoystick/
H A DJoystickWindow.cpp87 int16 *axes = (int16 *) malloc(sizeof(int16) * numAxes); in Draw() local
144 fStick->GetAxisValues(axes); in Draw()
145 float x = axes[0]; in Draw()
146 float y = axes[1]; in Draw()
161 x = axes[i]; in Draw()
173 free(axes); in Draw()
H A Darticle.txt6 …s (those little direction knobs on top of the main stick), and additional axes, such as rotational…
10 …e application), then presents a window showing all the buttons, hats, and axes provided by that jo…
88 …lumn is dedicated to displays for the axes. The topmost display is a two-dimensional display for …
90axes, such as throttles, twist controls, and the like. This is done just like the button labels (…
96 …ts interactively. It begins by getting the numbers of buttons, hats, and axes, and by allocating …
101 axes = (int16 *) malloc(sizeof(int16) * numAxes);
104axes and hats arrays will be used when we call GetAxisValues() and GetHatValues(); these functions…
144 We read the axes by calling GetAxisValues(). This works just like GetHatValues() -- we pass in a p…
146 Next, the X and Y axes (which we're treating as a two-dimensional field) are drawn. This code isn'…
148 The rest of the axes are drawn as a horizontal slider-type display, with a black box and a red oblo…
/haiku/src/kits/device/
H A DJoystick.cpp250 horizontal = values->axes[0]; in Update()
255 vertical = values->axes[1]; in Update()
387 memcpy(outValues, variableJoystick->axes, in GetAxisValues()
/haiku/docs/user/device/
H A DJoystick.dox52 unlimited number of axes and thumb controls. To support this, several
/haiku/docs/user/interface/
H A DPolygon.dox31 of sides and the sides don't have to be aligned on coordinate axes.
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DJoystickProtocolHandler.cpp385 fCurrentValues.axes[i] = (int16)fAxis[i]->ScaledData(16, true); in _Update()
/haiku/data/system/data/fortunes/
H A DComputers247 … sharpen a pencil with a blunt ax. It is equally vain to try to do it with ten blunt axes instead.
1717 …ite honestly, vast political differences and all with their own political axes to grind, and four …
H A DSongs & Poems448 Grow a forest -- protect it from axes that hack.