Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Accessing PS4 controller's Accelerometer and Gyroscope

Discussion in 'Editor & General Support' started by duckizz, Jun 29, 2015.

  1. duckizz

    duckizz

    Joined:
    Mar 15, 2015
    Posts:
    9
    Hi!
    Is there a way to access the accelerometer and gyroscope of a PS4 Controller ? SystemInfo.supportsGyroscope / SystemInfo.supportsAccelerometer doesn't seem to detect anything even though I can detect button and joystick movement from the controller.

    Thanks for the help!
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,384
    Check DevNet? They have all the info for this kind of thing. Or do you mean generically access controller data?
     
  3. wanglibin

    wanglibin

    Joined:
    Nov 13, 2016
    Posts:
    14
    PS4 accelerometer bother me too.Have you figure out How to access it?