namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
{
///
/// Represents a spectrum joystick
///
public interface IJoystick
{
///
/// The type of joystick
///
JoystickType JoyType { get; }
///
/// Array of all the possibly button press names
///
string[] ButtonCollection { get; set; }
///
/// The player number that this controller is currently assigned to
///
int PlayerNumber { get; set; }
///
/// Sets the joystick line based on key pressed
///
///
///
void SetJoyInput(string key, bool isPressed);
///
/// Gets the state of a particular joystick binding
///
///
///
bool GetJoyInput(string key);
}
}