2 Replies
      Latest reply on Jan 10, 2019 12:39 PM by Devin Wright
      Devin Wright Level 1 Level 1 (0 points)

        I am currently developing a controller support module for a multi-platform middleware library. The goal is to store the state of the controller behind the scenes and then allow the user to poll the current state of the controller, as well as register to receive an event when the state of the controller changes. From what I have gathered thus far there appear to be two frameworks available for this Game Controller and IOHIDManager. I have tested the Game Controller framework however it does not provide support for any of the targeted controllers. The IOHIDManager, on the other hand, appears to at least be able to support the PS4 controller, however, it seems that it only works as part of the appdelegate which I won't have access to when making the library module. Is there a way around the appdelegate or is there another framework I can use for handling controller support?