Searched refs:buttonLast (Results 1 – 5 of 5) sorted by relevance
235 #define PADButtonDown(buttonLast, button) \ argument236 ((u16) (((buttonLast) ^ (button)) & (button)))238 #define PADButtonUp(buttonLast, button) \ argument239 ((u16) (((buttonLast) ^ (button)) & (buttonLast)))
243 #define PADButtonDown(buttonLast, button) \ argument244 ((u16) (((buttonLast) ^ (button)) & (button)))246 #define PADButtonUp(buttonLast, button) \ argument247 ((u16) (((buttonLast) ^ (button)) & (buttonLast)))
619 #define WPADButtonDown( buttonLast, button ) \ argument620 ( (u16) (((buttonLast) ^ (button)) & (button)) )622 #define WPADButtonUp( buttonLast, button ) \ argument623 ( (u16) (((buttonLast) ^ (button)) & (buttonLast)) )
173 contAll->buttonLast = contAll->button; in ReadCont()185 cont->buttonLast = cont->button; // not to generate up/down twice in ReadCont()216 cont->down = PADButtonDown(cont->buttonLast, cont->button); in ReadCont()217 cont->up = PADButtonUp(cont->buttonLast, cont->button); in ReadCont()219 cont->repeat = (u16) ((cont->button & cont->buttonLast) & in ReadCont()
56 u16 buttonLast; // Or-ed PAD_BUTTON_* bits member