def METHOD_NAME(self, pressure):
    print(pressure)
    # this might mean we are on a device whose pressure value is
    # incorrectly reported by SDL2, like recent iOS devices.
    if pressure == 0.0:
        return 1
    return dp(pressure * 10)