summaryrefslogtreecommitdiff
path: root/hdaps-tux.h
blob: 1c041f1b3723c3144286ac3dd91b8f0ba35d0e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _HDAPS_TUX_H_
#define _HDAPS_TUX_H_

#define POSITION_FILE "/sys/devices/platform/hdaps/position"
#define TUX_FILE "tux.bmp"

/* UI constants */
#define W_WIDTH 480
#define W_HEIGHT 480

/* Polling constants */
#define TIMEOUT_VAL 15

#ifdef DEBUG
#define dprintf(fmt, args...) fprintf(stderr, fmt, ##args)
#else
#define dprintf(fmt, args...)
#endif /* DEBUG */

#endif /* _HDAPS_TUX_H_ */