Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
dev_walk.h
Go to the documentation of this file.
1
20
#pragma once
21
#include <pebble.h>
22
27
31
typedef
enum
32
{
33
DEV_WALK_NONE
,
34
DEV_WALK_THEMES
,
35
DEV_WALK_CONFIG
36
}
DevWalkMode
;
37
52
void
dev_walk_seed_stores
(
int
hour,
int
min);
53
63
void
dev_walk_init
(
DevWalkMode
mode,
void
(*apply_theme)(
void
));
64
66
void
dev_walk_deinit
(
void
);
67
dev_walk_deinit
void dev_walk_deinit(void)
Drop the tap subscription. Call from deinit.
Definition
dev_walk.c:376
dev_walk_init
void dev_walk_init(DevWalkMode mode, void(*apply_theme)(void))
Starts the walk. A theme walk forces the first theme and subscribes the accelerometer tap,...
Definition
dev_walk.c:349
DevWalkMode
DevWalkMode
Which walk a tap advances. dev_start picks it from the walk the dev switches name.
Definition
dev_walk.h:32
dev_walk_seed_stores
void dev_walk_seed_stores(int hour, int min)
Inits the clock, weather, health, system, and location stores from the default fixture,...
Definition
dev_walk.c:340
DEV_WALK_CONFIG
@ DEV_WALK_CONFIG
A tap steps to the next step of the walk the unit's paf.dev.config.json lays out.
Definition
dev_walk.h:35
DEV_WALK_THEMES
@ DEV_WALK_THEMES
A tap steps to the next theme.
Definition
dev_walk.h:34
DEV_WALK_NONE
@ DEV_WALK_NONE
Just pin the fixture, no tap handler.
Definition
dev_walk.h:33
src
plugins
dev
c
dev
dev_walk.h
Generated by
1.18.0