19 #ifndef MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__
20 #define MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__
33 class TouchVisualizer;
42 std::shared_ptr<CursorListener>
const& cursor_listener,
43 std::shared_ptr<TouchVisualizer>
const& touch_visualizer);
45 bool getBounds(
float* out_min_x,
float* out_min_y,
float* out_max_x,
float* out_max_y)
const;
46 void move(
float delta_x,
float delta_y);
52 void setSpots(
const droidinput::PointerCoords* spot_coords, uint32_t spot_count);
56 bool get_bounds_locked(
float *out_min_x,
float* out_min_y,
float* out_max_x,
float* out_max_y)
const;
57 void notify_listener();
59 mutable std::mutex guard;
63 std::shared_ptr<InputRegion>
const input_region;
64 std::shared_ptr<CursorListener> cursor_listener;
65 std::shared_ptr<TouchVisualizer>
const touch_visualizer;
71 #endif // MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__
All things Mir.
Definition: aging_buffer.h:24
Definition: android_input_receiver.h:32