| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base
   |
   +--Nes::Api::Input
Controller input interface.
| Inner Classes, Typedefs, and Enums | |
| enum | Nes::Api::Input::AdapterAdapter type. | 
| typedef | Nes::Api::Input::AdapterCallbackAdapter event callback prototype. | 
| typedef | Nes::Api::Input::ControllerCallbackController event callback prototype. | 
| typedef | Nes::Api::Input::ControllersControllers context. | 
| enum | Nes::Api::Input::TypeController type. | 
| Field Summary | |
|  static Nes::Api::Input::AdapterCaller | adapterCallbackAdapter event callback manager. | 
|  static Nes::Api::Input::ControllerCaller | controllerCallbackController event callback manager. | 
| Constructor Summary | |
| Input( T& instance )Interface constructor. | |
| Method Summary | |
|  Result | AutoSelectAdapter()Connects the most suited adapter for a game. | 
|  Result | AutoSelectController( uint port )Connects the most suited controller for a game into a port. | 
|  Result | AutoSelectControllers()Connects the most suited controllers for a game into all ports. | 
|  Result | ConnectAdapter( Nes::Api::Input::Adapter type )Connects an adapter. | 
|  Result | ConnectController( uint port, Nes::Api::Input::Type type )Connects a controller to a port. | 
|  Nes::Api::Input::Adapter | GetConnectedAdapter() constReturns the current connected adapter. | 
|  Nes::Api::Input::Type | GetConnectedController( uint port ) constReturns the current connected controller. | 
|  bool | IsControllerConnected( Nes::Api::Input::Type type ) constChecks if a specific controller is connected. | 
| Field Detail | 
public static Nes::Api::Input::AdapterCaller adapterCallback;
public static Nes::Api::Input::ControllerCaller controllerCallback;
| Constructor Detail | 
public Input( T& instance );
instance - emulator instance| Method Detail | 
public Result AutoSelectAdapter() throw();
public Result AutoSelectController( uint port ) throw();
port - controller portpublic Result AutoSelectControllers() throw();
public Result ConnectAdapter( Nes::Api::Input::Adapter type ) throw();
type - adapterpublic Result ConnectController( uint port, Nes::Api::Input::Type type ) throw();
port - port
type - controllerpublic Nes::Api::Input::Adapter GetConnectedAdapter() const throw();
public Nes::Api::Input::Type GetConnectedController( uint port ) const throw();
port - portpublic bool IsControllerConnected( Nes::Api::Input::Type type ) const throw();
type - controller| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||