title: Emulating a DS4 Controller for PS4 remote play on OS X
body: <p>I am using ShockEmu (<a href="https://github.com/backslash-f/ShockEmu" rel="nofollow noreferrer">https://github.com/backslash-f/ShockEmu</a>) with PS4 remote play and tried to expand support to standard GamePads/Joysticks but I never coded in objective C nor for OS X and I am struggling to make it work.
  I tried to get some clues by looking at this project (<a href="https://github.com/fyhuang/enjoy2" rel="nofollow noreferrer">https://github.com/fyhuang/enjoy2</a>) but still I am stuck.</p>
  
  <p>My fork is here : <a href="https://github.com/MiCkSoftware/ShockEmu" rel="nofollow noreferrer">https://github.com/MiCkSoftware/ShockEmu</a></p>
  
  <p>Is there anything wrong with the code I added so far?
  Why add_callback and input_callback methods are never called ?</p>
  
  <p>Can anyone point me the right direction and kick start me ?</p>
  
  <p><strong>Edit</strong>
  I found a solution.</p>