예제 #1
0
 /// <param name="port">0 or 1, corresponding to L and R physical ports on the snes</param>
 /// <param name="index">meaningless for most controllers.  for multitap, 0-3 for which multitap controller</param>
 /// <param name="id">button ID enum; in the case of a regular controller, this corresponds to shift register position</param>
 /// <returns>for regular controllers, one bit D0 of button status.  for other controls, varying ranges depending on id</returns>
 private short snes_input_state(int port, int index, int id)
 {
     return(_controllers.CoreInputState(port, index, id));
 }