summaryrefslogtreecommitdiff
path: root/liveview/liveview.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-17 02:23:42 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-17 02:23:42 +0200
commita3797790c7da7a5c88005735619dc56a96264930 (patch)
tree31c72d30c6240e039946e0cce77daf739db7a7ea /liveview/liveview.h
parent8acbca729c2bca966c0e4b91701654532af2f55c (diff)
downloadsowatch-a3797790c7da7a5c88005735619dc56a96264930.tar.gz
sowatch-a3797790c7da7a5c88005735619dc56a96264930.zip
add the missing pieces for button support
Diffstat (limited to 'liveview/liveview.h')
-rw-r--r--liveview/liveview.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/liveview/liveview.h b/liveview/liveview.h
index 4df7f10..aba5b32 100644
--- a/liveview/liveview.h
+++ b/liveview/liveview.h
@@ -51,7 +51,7 @@ public:
void clear();
protected:
- static const int DelayBetweenMessages = 5;
+ static const int DelayBetweenMessages = 10;
enum MessageType {
NoMessage = 0,
@@ -106,6 +106,10 @@ protected:
};
enum NavigationEvent {
+ UpPress = 1,
+ DownPress = 4,
+ LeftPress = 7,
+ RightPress = 10,
SelectPress = 13,
SelectLongPress = 14,
SelectDoublePress = 15,