Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 10 of 10) sorted by relevance

/RvlSDK-3.2.2/build/libraries/kpad/src/
DKPAD.c633 if ( ep->cl.trig != 0 || ep->cl.release != 0 ) { in calc_button_repeat()
639 if ( ep->cl.trig && kp->btn_repeat_pulse ) { in calc_button_repeat()
640 ep->cl.hold |= KPAD_BUTTON_RPT ; in calc_button_repeat()
642 } else if ( ep->cl.hold != 0 ) { in calc_button_repeat()
651 ep->cl.hold |= KPAD_BUTTON_RPT ; in calc_button_repeat()
670 …tic void read_kpad_button( KPADInsideStatus *kp, u32 dev_type, u32 count, u32 core, u32 fs, u32 cl) in read_kpad_button() argument
706 ex = cl ; in read_kpad_button()
710 cl_old_fg = ep->cl.hold & KPAD_BUTTON_MASK ; in read_kpad_button()
713 ep->cl.hold = ex & KPAD_BUTTON_MASK ; in read_kpad_button()
716 cl_change_fg = ep->cl.hold ^ cl_old_fg ; in read_kpad_button()
[all …]
/RvlSDK-3.2.2/build/demos/wpaddemo/src/
Dwpadsample.c1258 WPADCLStatus *cl = (WPADCLStatus*)&wpad; in renderStatus() local
1262 clb[0] = (char)((cl->clButton & WPAD_CL_BUTTON_LEFT) ? '<' : '_'); in renderStatus()
1263 clb[1] = (char)((cl->clButton & WPAD_CL_BUTTON_UP) ? '^' : '_'); in renderStatus()
1264 clb[2] = (char)((cl->clButton & WPAD_CL_BUTTON_DOWN) ? 'v' : '_'); in renderStatus()
1265 clb[3] = (char)((cl->clButton & WPAD_CL_BUTTON_RIGHT)? '>' : '_'); in renderStatus()
1266 clb[4] = (char)((cl->clButton & WPAD_CL_BUTTON_A) ? 'A' : '_'); in renderStatus()
1267 clb[5] = (char)((cl->clButton & WPAD_CL_BUTTON_B) ? 'B' : '_'); in renderStatus()
1268 clb[6] = (char)((cl->clButton & WPAD_CL_BUTTON_X) ? 'X' : '_'); in renderStatus()
1269 clb[7] = (char)((cl->clButton & WPAD_CL_BUTTON_Y) ? 'Y' : '_'); in renderStatus()
1270 clb[8] = (char)((cl->clButton & WPAD_CL_TRIGGER_L) ? 'L' : '_'); in renderStatus()
[all …]
Dwpad_seqdemo.c127 WPADCLStatus cl; member
Dwpad_spdemo.c141 WPADCLStatus cl; member
Dwpad_axdemo.c281 WPADCLStatus cl; member
/RvlSDK-3.2.2/build/libraries/kpadOld/src/
DKPAD.c343 ep->cl.lstick = Vec2_0; in reset_kpad()
344 ep->cl.rstick = Vec2_0; in reset_kpad()
345 ep->cl.ltrigger = ep->cl.rtrigger = 0.0f; in reset_kpad()
346 ep->cl.hold = ep->cl.trig = ep->cl.release = 0x00000000 ; in reset_kpad()
488 if ( sp->ex_status.cl.trig != 0 || sp->ex_status.cl.release != 0 ) { in calc_button_repeat()
494 if ( sp->ex_status.cl.trig && kp->btn_cl_repeat_pulse ) { in calc_button_repeat()
495 sp->ex_status.cl.hold |= KPAD_BUTTON_RPT ; in calc_button_repeat()
497 } else if ( sp->ex_status.cl.hold != 0 ) { in calc_button_repeat()
506 sp->ex_status.cl.hold |= KPAD_BUTTON_RPT ; in calc_button_repeat()
574 cl_old_fg = ep->cl.hold & KPAD_BUTTON_MASK; in read_kpad_button()
[all …]
/RvlSDK-3.2.2/build/demos/kpaddemo/src/
Dsample.c50 && ( kpads[0][0].ex_status.cl.hold & KPAD_CL_BUTTON_PLUS ) != 0 )
55 && ( kpads[0][0].ex_status.cl.trig & KPAD_CL_BUTTON_MINUS ) != 0 )
876 hold = kpads[0][0].ex_status.cl.hold; in draw_sample()
877 trig = kpads[0][0].ex_status.cl.trig; in draw_sample()
878 release = kpads[0][0].ex_status.cl.release; in draw_sample()
988 …draw_stick( x1, y, r, kpads[0][cx].ex_status.cl.lstick.x, -kpads[0][cx].ex_status.cl.lstick.y, clr… in draw_sample()
989 …draw_stick( x2, y, r, kpads[0][cx].ex_status.cl.rstick.x, -kpads[0][cx].ex_status.cl.rstick.y, clr… in draw_sample()
1013 draw_box( x1, y, 20.0f, 55.0f * kpads[0][cx].ex_status.cl.ltrigger, yellow_clr ) ; in draw_sample()
1014 draw_box( x2, y, 20.0f, 55.0f * kpads[0][cx].ex_status.cl.rtrigger, yellow_clr ) ; in draw_sample()
/RvlSDK-3.2.2/build/demos/kpadOlddemo/src/
Dsample.c585 hold = kpads[0][0].ex_status.cl.hold; in draw_sample()
586 trig = kpads[0][0].ex_status.cl.trig; in draw_sample()
587 release = kpads[0][0].ex_status.cl.release; in draw_sample()
632 …draw_stick( x1, y, r, kpads[0][cx].ex_status.cl.lstick.x, -kpads[0][cx].ex_status.cl.lstick.y, blu… in draw_sample()
633 …draw_stick( x1, y, r, kpads[0][cx].ex_status.cl.rstick.x, -kpads[0][cx].ex_status.cl.rstick.y, gre… in draw_sample()
/RvlSDK-3.2.2/include/revolution/
Dkpad.h126 } cl ; member
172 WPADCLStatus cl ; member
DkpadOld.h132 } cl ; member