-- docs: https://sdk.play.date/2.6.2/Inside%20Playdate.html#accelerometer

playdate.startAccelerometer = playdate.startAccelerometer or function()
    error("[ERR] playdate.startAccelerometer() is not yet implemented.")
end

playdate.stopAccelerometer = playdate.stopAccelerometer or function()
    error("[ERR] playdate.stopAccelerometer() is not yet implemented.")
end

playdate.readAccelerometer = playdate.readAccelerometer or function()
    error("[ERR] playdate.readAccelerometer() is not yet implemented.")
end

playdate.accelerometerIsRunning = playdate.readAccelerometer or function()
    error("[ERR] playdate.accelerometerIsRunning() is not yet implemented.")
end

-- undocumented functions (not in the public SDK documentation)
playdate.getDeviceOrientation = playdate.getDeviceOrientation or function()
    error("[ERR] playdate.getDeviceOrientation() is not yet implemented.")
end

playdate.getPitchAndRoll = playdate.getPitchAndRoll or function()
    error("[ERR] playdate.getPitchAndRoll() is not yet implemented.")
end