Home
last modified time | relevance | path

Searched refs:Pads (Results 1 – 3 of 3) sorted by relevance

/RvlSDK-2.1/build/demos/paddemo/src/
Dbasic.c58 PADStatus Pads[PAD_MAX_CONTROLLERS]; variable
70 Pads[chan].err, in PrintPads()
71 (Pads[chan].button & PAD_BUTTON_A) ? 'O' : '_', in PrintPads()
72 (Pads[chan].button & PAD_BUTTON_B) ? 'O' : '_', in PrintPads()
73 (Pads[chan].button & PAD_BUTTON_X) ? 'O' : '_', in PrintPads()
74 (Pads[chan].button & PAD_BUTTON_Y) ? 'O' : '_', in PrintPads()
75 (Pads[chan].button & PAD_BUTTON_START) ? 'O' : '_', in PrintPads()
76 (Pads[chan].button & PAD_TRIGGER_Z) ? 'O' : '_', in PrintPads()
77 (Pads[chan].button & PAD_TRIGGER_L) ? 'O' : '_', in PrintPads()
78 (Pads[chan].button & PAD_TRIGGER_R) ? 'O' : '_', in PrintPads()
[all …]
Dsimple.c31 PADStatus Pads[PAD_MAX_CONTROLLERS]; variable
43 PADRead(Pads); in main()
45 if (Pads[0].err != PAD_ERR_NONE) in main()
48 down = PADButtonDown(button, Pads[0].button); in main()
49 up = PADButtonUp (button, Pads[0].button); in main()
50 button = Pads[0].button; in main()
52 PADClamp(Pads); in main()
55 (Pads[0].button & PAD_BUTTON_A) ? 'A' : '_', in main()
56 (Pads[0].button & PAD_BUTTON_B) ? 'B' : '_', in main()
57 (Pads[0].button & PAD_BUTTON_X) ? 'X' : '_', in main()
[all …]
Dsampling.c40 volatile PADStatus Pads[SI_MAX_CHAN]; variable
54 memcpy((PADStatus*) &Pads[chan], &pads[chan], sizeof(PADStatus)); in SamplingCallback()
78 Pads[chan].err = PAD_ERR_NO_CONTROLLER; in main()
109 memcpy(pads, (PADStatus*) Pads, sizeof Pads); in main()
129 Pads[chan].err = PAD_ERR_NOT_READY; in main()
133 Pads[chan].err = PAD_ERR_NO_CONTROLLER; in main()