PebbleOS
Loading...
Searching...
No Matches
Enumerations | Functions
touch_session.h File Reference
#include <stdbool.h>

Enumerations

enum  TouchSessionArmSource { TouchSessionArmSource_WakeGesture , TouchSessionArmSource_Button , TouchSessionArmSource_Injected }
 What armed the session. More...
 

Functions

void touch_session_arm (TouchSessionArmSource source)
 Open or re-open the session after deliberate interaction.
 
void touch_session_extend (void)
 Push the session deadline out, only while the session is active.
 
bool touch_session_is_active (void)
 Check whether touch may navigate.
 
void touch_session_reset (void)
 Expire the session deadline immediately.