Searched refs:devicePressureMax (Results 1 – 1 of 1) sorted by relevance
73 var devicePressureMax = 1f; // ideal value variable220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData()222 if (devicePressureMax < devicePressureMin) devicePressureMax = devicePressureMin + 1f in loadDevicePressureData()228 if (pressure > devicePressureMax) devicePressureMax = pressure in adjustPressure()230 return invlerp(pressure, devicePressureMin, devicePressureMax) in adjustPressure()