1 2 3 4 5 6 7 8 9 10 11
#pragma once #import "nes/util/button-mask.hh" #import <Foundation/Foundation.h> /// Adapts inputs from a GCPhysicalInputProfile to a NES button mask. @protocol ControllerAdapter <NSObject> - (nes::button_mask)readPressedButtons; @end