Add down/up log for debugging
authorSung-jae Park <nicesj.park@samsung.com>
Sun, 16 Nov 2014 08:46:09 +0000 (17:46 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Sun, 16 Nov 2014 08:46:09 +0000 (17:46 +0900)
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Iee55a4a1cafddf7f34ddaf6db3b93e333eacd5d5

src/server.c

index 9954caf..11279f6 100644 (file)
@@ -509,12 +509,14 @@ static int mouse_event_dbox_route_cb(enum event_state state, struct event_data *
     switch (state) {
        case EVENT_STATE_ACTIVATE:
            cmd = CMD_DBOX_MOUSE_DOWN;
+           DbgPrint("DOWN: %s\n", instance_id(inst));
            break;
        case EVENT_STATE_ACTIVATED:
            cmd = CMD_DBOX_MOUSE_MOVE;
            break;
        case EVENT_STATE_DEACTIVATE:
            cmd = CMD_DBOX_MOUSE_UP;
+           DbgPrint("UP: %s\n", instance_id(inst));
            break;
        default:
            return DBOX_STATUS_ERROR_INVALID_PARAMETER;