-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathSMFDefines.h
36 lines (32 loc) · 983 Bytes
/
SMFDefines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// SMFDefines.h
// SMFramework
//
// Created by Thomas Cool on 10/24/10.
// Copyright 2010 tomcool.org. All rights reserved.
//
typedef enum {
// for originator kBREventOriginatorRemote
kBREventRemoteActionMenu = 1,
kBREventRemoteActionMenuHold,
kBREventRemoteActionUp,
kBREventRemoteActionDown,
kBREventRemoteActionPlay,
kBREventRemoteActionLeft,
kBREventRemoteActionRight,
kBREventRemoteActionPlayPause=10,
kBREventRemoteActionPlayHold = 20,
kBREventRemoteActionSelectHold = 22,
// Gestures, for originator kBREventOriginatorGesture
kBREventRemoteActionTap = 30,
kBREventRemoteActionSwipeLeft,
kBREventRemoteActionSwipeRight,
kBREventRemoteActionSwipeUp,
kBREventRemoteActionSwipeDown,
// Custom remote actions for old remote actions
kBREventRemoteActionHoldLeft = 0xfeed0001,
kBREventRemoteActionHoldRight,
kBREventRemoteActionHoldUp,
kBREventRemoteActionHoldDown,
} BREventRemoteAction;
#define LOG_SELF NSLog(@"%@ %s", self, _cmd)