Searched refs:stickDirs (Results 1 – 4 of 4) sorted by relevance
309 u16 buttons, stickDirs; in SceneControl() local312 stickDirs = DEMOPadGetDirsNew(0); in SceneControl()336 if ( stickDirs & DEMO_STICK_LEFT ) in SceneControl()351 if ( stickDirs & DEMO_STICK_RIGHT ) in SceneControl()387 if ( stickDirs & DEMO_STICK_UP ) in SceneControl()391 if ( stickDirs & DEMO_STICK_DOWN ) in SceneControl()402 if ( stickDirs & DEMO_STICK_UP ) in SceneControl()406 if ( stickDirs & DEMO_STICK_DOWN ) in SceneControl()418 if ( stickDirs & DEMO_STICK_UP ) in SceneControl()422 if ( stickDirs & DEMO_STICK_DOWN ) in SceneControl()[all …]
275 u16 button, stickDirs; in SceneControl() local280 stickDirs = DEMOPadGetDirsNew(0); in SceneControl()320 if ( stickDirs & DEMO_STICK_LEFT ) in SceneControl()324 if ( stickDirs & DEMO_STICK_RIGHT ) in SceneControl()339 if ( stickDirs & DEMO_STICK_LEFT ) cursor &= ~2; // left in SceneControl()340 if ( stickDirs & DEMO_STICK_RIGHT ) cursor |= 2; // right in SceneControl()341 if ( stickDirs & DEMO_STICK_UP ) cursor &= ~1; // up in SceneControl()342 if ( stickDirs & DEMO_STICK_DOWN ) cursor |= 1; // down in SceneControl()
424 u16 stickDirs; in myAnimeModel() local428 stickDirs = DEMOPadGetDirs(0); in myAnimeModel()431 stickDirs = DEMOPadGetDirs(0); in myAnimeModel()432 if ( stickDirs & DEMO_STICK_UP ) in myAnimeModel()434 if ( stickDirs & DEMO_STICK_DOWN ) in myAnimeModel()436 if ( stickDirs & DEMO_STICK_LEFT ) in myAnimeModel()438 if ( stickDirs & DEMO_STICK_RIGHT ) in myAnimeModel()440 if ( stickDirs & DEMO_SUBSTICK_LEFT ) in myAnimeModel()442 if ( stickDirs & DEMO_SUBSTICK_RIGHT ) in myAnimeModel()
183 u16 buttons, stickDirs; in myAnimeModel() local188 stickDirs = DEMOPadGetDirs(0); in myAnimeModel()191 if ( stickDirs & DEMO_STICK_UP ) axis.x -= 1.0f; in myAnimeModel()192 if ( stickDirs & DEMO_STICK_DOWN ) axis.x += 1.0f; in myAnimeModel()193 if ( stickDirs & DEMO_STICK_LEFT ) axis.y -= 1.0f; in myAnimeModel()194 if ( stickDirs & DEMO_STICK_RIGHT ) axis.y += 1.0f; in myAnimeModel()