Home
last modified time | relevance | path

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

/RvlSDK-3.2/build/demos/gxdemo/src/Indirect/
Dind-tile-test.c329 u16 stick = DEMOPadGetDirs(0); in AnimTick() local
348 if (stick & DEMO_STICK_RIGHT) in AnimTick()
354 if (stick & DEMO_STICK_LEFT) in AnimTick()
360 if (stick & DEMO_STICK_DOWN) in AnimTick()
366 if (stick & DEMO_STICK_UP) in AnimTick()
/RvlSDK-3.2/build/libraries/kpad/src/
DKPAD.c1675 static void clamp_stick_circle( Vec2 *stick, s32 sx, s32 sy, s32 min, s32 max ) in clamp_stick_circle() argument
1687 stick->x = stick->y = 0.0f ; in clamp_stick_circle()
1690 stick->x = fx / length ; in clamp_stick_circle()
1691 stick->y = fy / length ; in clamp_stick_circle()
1695 stick->x = fx * length ; in clamp_stick_circle()
1696 stick->y = fy * length ; in clamp_stick_circle()
1700 static void clamp_stick_cross( Vec2 *stick, s32 sx, s32 sy, s32 min, s32 max ) in clamp_stick_cross() argument
1707 clamp_trigger( &stick->x, -sx, min, max ) ; in clamp_stick_cross()
1708 stick->x = -stick->x ; in clamp_stick_cross()
1710 clamp_trigger( &stick->x, sx, min, max ) ; in clamp_stick_cross()
[all …]
/RvlSDK-3.2/include/revolution/
DkpadOld.h115 Vec2 stick ; member
135 Vec2 stick ; member
Dkpad.h109 Vec2 stick ; member
/RvlSDK-3.2/build/demos/gxdemo/src/Tev/
Dtev-one-op.c497 u16 stick = DEMOPadGetDirsNew(0); in AnimTick() local
511 if ( ( down & PAD_BUTTON_RIGHT ) || ( stick & DEMO_STICK_RIGHT ) ) in AnimTick()
515 if ( ( down & PAD_BUTTON_LEFT ) || ( stick & DEMO_STICK_LEFT ) ) in AnimTick()
/RvlSDK-3.2/build/libraries/kpadOld/src/
DKPAD.c334 ep->fs.stick = Vec2_0 ; in reset_kpad()
1625 static void clamp_stick( Vec2 *stick, s32 sx, s32 sy, s32 min, s32 max ) in clamp_stick() argument
1637 stick->x = stick->y = 0.0f ; in clamp_stick()
1640 stick->x = fx / length ; in clamp_stick()
1641 stick->y = fy / length ; in clamp_stick()
1645 stick->x = fx * length ; in clamp_stick()
1646 stick->y = fy * length ; in clamp_stick()
1665 …clamp_stick( &kstatus->ex_status.gc.stick, pstatus.stickX, pstatus.stickY, kp_gc_mstick_min, kp_gc… in read_dolphin()
1715 …clamp_stick( &sp->ex_status.fs.stick, fp->fsStickX, fp->fsStickY, kp_fs_fstick_min, kp_fs_fstick_m… in read_kpad_stick()
/RvlSDK-3.2/build/demos/kpadOlddemo/src/
Dsample.c630 …draw_stick( x1, y, r, kpads[0][cx].ex_status.fs.stick.x, -kpads[0][cx].ex_status.fs.stick.y, yello… in draw_sample()
/RvlSDK-3.2/build/demos/gxdemo/
Dmakefile100 Simple/smp-toy-anim.c Simple/smp-toy-stick.c \
351 Simple/smp-toy-anim.o Simple/smp-toy-stick.o \
/RvlSDK-3.2/build/demos/kpaddemo/src/
Dsample.c978 …draw_stick( x1, y, r, kpads[0][cx].ex_status.fs.stick.x, -kpads[0][cx].ex_status.fs.stick.y, yello… in draw_sample()