示例#1
0
void wayplay_1_write(unsigned char data, unsigned char mask)
{
  if (pad_index < 4)
  {
    gamepad_write(pad_index, data, mask);
  }
}
示例#2
0
void gamepad_2_write(unsigned char data, unsigned char mask)
{
  gamepad_write(4, data, mask);
}
示例#3
0
void wayplay_1_write(unsigned char data, unsigned char mask)
{
    /* TR & TL on port B select controller # (0-3) */
    gamepad_write(latch & 0x03, data, mask);
}