Capacitor plugin to control the user's touch pressure on the screen
npm install touch-pressure
npx cap sync
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
startListening() => Promise<void>
stopListening() => Promise<void>
is3DTouchAvailable() => Promise<{ available: boolean; }>
Returns: Promise<{ available: boolean; }>
isPressureSensitiveAvailable() => Promise<{ available: boolean; }>
Returns: Promise<{ available: boolean; }>