From acd8e0eefa259500bf1325fa6b84c3b615d00782 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 5 May 2012 16:31:07 +0200 Subject: digital/io-hub/src/guybrush: add totem defines --- digital/io-hub/src/guybrush/playground_2012.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'digital/io-hub/src/guybrush/playground_2012.h') diff --git a/digital/io-hub/src/guybrush/playground_2012.h b/digital/io-hub/src/guybrush/playground_2012.h index f05801c3..d96d8cca 100644 --- a/digital/io-hub/src/guybrush/playground_2012.h +++ b/digital/io-hub/src/guybrush/playground_2012.h @@ -35,4 +35,9 @@ /** Totem width. */ #define PG_TOTEM_WIDTH_MM 250 +/** Totems position. */ +#define PG_TOTEM_LEFT_X (PG_WIDTH / 2 - PG_TOTEM_X_OFFSET_MM) +#define PG_TOTEM_RIGHT_X (PG_WIDTH / 2 + PG_TOTEM_X_OFFSET_MM) +#define PG_TOTEM_Y (PG_LENGTH / 2) + #endif /* playground_2012_h */ -- cgit v1.2.3