Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 8 of 8) sorted by relevance

/RvlSDK-3.2/build/demos/kpaddemo/src/
Dsample.c47 #define CMD_STICK_CLAMP_HOLD1 ( kpads[0][0].dev_type == WPAD_DEV_FREESTYLE && (kpads[0][0].hold & K…
48 #define CMD_STICK_CLAMP_HOLD2 ( ( ( kpads[0][0].dev_type == WPAD_DEV_CLASSIC ) \
49 || ( kpads[0][0].dev_type == WPAD_DEV_GUITAR ) ) \
52 #define CMD_STICK_CLAMP_TRIG1 ( kpads[0][0].dev_type == WPAD_DEV_FREESTYLE && (kpads[0][0].trig & K…
53 #define CMD_STICK_CLAMP_TRIG2 ( ( ( kpads[0][0].dev_type == WPAD_DEV_CLASSIC ) \
54 || ( kpads[0][0].dev_type == WPAD_DEV_GUITAR ) ) \
873 && ( kpads[0][0].dev_type == WPAD_DEV_CLASSIC in draw_sample()
874 || kpads[0][0].dev_type == WPAD_DEV_GUITAR in draw_sample()
875 || kpads[0][0].dev_type == WPAD_DEV_TRAIN ) ) { in draw_sample()
880 switch( kpads[0][0].dev_type ) { in draw_sample()
[all …]
Dweight.c182 if ( kpads[0].dev_type == WPAD_DEV_BALANCE_CHECKER ) in renderStatus()
/RvlSDK-3.2/build/libraries/kpadOld/src/
DKPAD.c330 switch( sp->dev_type ) in reset_kpad()
485 static void calc_button_repeat( KPADInsideStatus *kp, KPADStatus *sp, u32 dev_type ) in calc_button_repeat() argument
487 if ( dev_type == WPAD_DEV_CLASSIC ) { in calc_button_repeat()
557 static void read_kpad_button( KPADInsideStatus *kp, void *vp, u32 dev_type ) in read_kpad_button() argument
572 if ( dev_type == WPAD_DEV_CLASSIC ) in read_kpad_button()
578 if ( dev_type == WPAD_DEV_FREESTYLE ) { in read_kpad_button()
593 } else if ( dev_type == WPAD_DEV_CLASSIC ) { in read_kpad_button()
634 if ( dev_type == WPAD_DEV_CLASSIC ) in read_kpad_button()
772 static void read_kpad_acc( KPADInsideStatus *kp, void *vp, u32 dev_type, s32 chan ) in read_kpad_acc() argument
805 if ( dev_type == WPAD_DEV_FREESTYLE ) { in read_kpad_acc()
[all …]
/RvlSDK-3.2/build/demos/wpaddemo/src/
Dsync.c111 u32 dev_type; in RenderConsoleStatus() local
128 if (WPADProbe(chan, &dev_type) == WPAD_ERR_NONE) in RenderConsoleStatus()
/RvlSDK-3.2/build/demos/kpadOlddemo/src/
Dsample.c425 if ( kpads[0][0].dev_type == WPAD_DEV_NOT_FOUND ) { in draw_object()
437 switch ( kpads[0][0].dev_type ) { in draw_object()
458 switch( kpads[0][0].dev_type ) { in draw_object()
584 if ( kpads[0][0].dev_type == WPAD_DEV_CLASSIC ) { in draw_sample()
620 if(kpads[0][cx].dev_type == WPAD_DEV_FREESTYLE) { in draw_sample()
629 if(kpads[0][cx].dev_type == WPAD_DEV_FREESTYLE) { in draw_sample()
631 } else if (kpads[0][cx].dev_type == WPAD_DEV_CLASSIC) { in draw_sample()
/RvlSDK-3.2/build/libraries/kpad/src/
DKPAD.c594 static void calc_button_repeat( KPADInsideStatus *kp, u32 dev_type, u32 count ) in calc_button_repeat() argument
630 if ( dev_type == WPAD_DEV_CLASSIC in calc_button_repeat()
631 || dev_type == WPAD_DEV_GUITAR in calc_button_repeat()
632 || dev_type == WPAD_DEV_TRAIN ) { in calc_button_repeat()
670 static void read_kpad_button( KPADInsideStatus *kp, u32 dev_type, u32 count, u32 core, u32 fs, u32 … in read_kpad_button() argument
685 if ( dev_type == WPAD_DEV_FREESTYLE ) { in read_kpad_button()
700 if ( dev_type == WPAD_DEV_CLASSIC in read_kpad_button()
701 || dev_type == WPAD_DEV_GUITAR in read_kpad_button()
702 || dev_type == WPAD_DEV_TRAIN ) { in read_kpad_button()
722 calc_button_repeat( kp, dev_type, count ) ; in read_kpad_button()
[all …]
/RvlSDK-3.2/include/revolution/
DkpadOld.h169 u32 dev_type ; member
Dkpad.h160 u8 dev_type ; member