Pebble App Framework
main
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
14
#pragma once
15
#include <pebble.h>
16
21
25
typedef
enum
26
{
27
DEV_WALK_NONE
,
28
DEV_WALK_THEMES
29
}
DevWalkMode
;
30
40
void
dev_walk_seed_stores
(
int
hour,
int
min);
41
50
void
dev_walk_init
(
DevWalkMode
mode,
void
(*apply_theme)(
void
));
51
53
void
dev_walk_deinit
(
void
);
54
dev_walk_deinit
void dev_walk_deinit(void)
Drop the tap subscription. Call from deinit.
Definition
dev_walk.c:203
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:181
DevWalkMode
DevWalkMode
Which walk a tap advances. The face works this out from its own toggles.
Definition
dev_walk.h:26
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:166
DEV_WALK_THEMES
@ DEV_WALK_THEMES
A tap steps to the next theme.
Definition
dev_walk.h:28
DEV_WALK_NONE
@ DEV_WALK_NONE
Just pin the fixture, no tap handler.
Definition
dev_walk.h:27
src
plugins
dev
c
dev
dev_walk.h
Generated by
1.18.0