~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to src/client/logging/input_receiver_report.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-02-04 14:49:07 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20140204144907-o3ruhix0ey26lchl
Tags: upstream-0.1.4+14.04.20140204
ImportĀ upstreamĀ versionĀ 0.1.4+14.04.20140204

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include "input_receiver_report.h"
20
20
 
21
21
#include "mir/logging/logger.h"
 
22
#include "mir/logging/input_timestamp.h"
22
23
 
23
24
#include <boost/throw_exception.hpp>
24
25
 
53
54
    ss << "  scan_code: " << ev.scan_code << std::endl;
54
55
    ss << "  repeat_count: " << ev.repeat_count << std::endl;
55
56
    ss << "  down_time: " << ev.down_time << std::endl;
56
 
    ss << "  event_time: " << ev.event_time << std::endl;
 
57
    ss << "  event_time: " << ml::input_timestamp(ev.event_time) << std::endl;
57
58
    ss << "  is_system_key: " << ev.is_system_key << std::endl;
58
59
    ss << "}";
59
60
}
73
74
    ss << "  x_precision: " << ev.x_precision << std::endl;
74
75
    ss << "  y_precision: " << ev.y_precision << std::endl;
75
76
    ss << "  down_time: " << ev.down_time << std::endl;
76
 
    ss << "  event_time: " << ev.event_time << std::endl;
 
77
    ss << "  event_time: " << ml::input_timestamp(ev.event_time) << std::endl;
77
78
    ss << "  pointer_count: " << ev.pointer_count << std::endl;
78
79
    for (unsigned int i = 0; i < ev.pointer_count; i++)
79
80
    {