boolean PS2X::ButtonPressed(unsigned int button) {
  return(NewButtonState(button) & Button(button));
}
boolean PS2X::ButtonReleased(unsigned int button) {
  return((NewButtonState(button)) & ((~last_buttons & button) > 0));
}
Example #3
0
bool PSX64::ButtonPressed(unsigned int button) {
  return(NewButtonState(button) & Button(button));
}