We can get the accelerometer (x,y,z) values with the joystick API, they are set as Axis (Axis 1,2,3 -> Accelerometer x,y,z) but they all output 0, I'm guessing it has something to do with this function, maybe it needs to be called somewhere ?
That function is called when events are pumped in SDL, which happens every frame by default in LÖVE.
Hmmm... Well, for some reason the Axis aren't updating and if that isn't the problem then I have no idea what could be
I have the answer.
You need to notify SDL about the accel event on the onSensorChanged method.