* add touch support (experimental) * add support for wlr_cursor_shape_v1 * add support for wlr_relative_pointer_manager_v1
13 lines
711 B
C
13 lines
711 B
C
#ifndef DIYAC_CURSOR_H
|
|
#define DIYAC_CURSOR_H
|
|
|
|
#include "diyac.h"
|
|
|
|
void diyac_init_cursor_manager(struct diyac_server * server);
|
|
void diyac_reset_cursor_mode(struct diyac_server *server);
|
|
void diyac_cursor_focus(struct diyac_server *server);
|
|
void diyac_finish_cusor_manager(struct diyac_server* server);
|
|
void diyac_cursor_emulate_move(struct diyac_seat *seat, struct wlr_input_device *device,double dx, double dy, uint32_t time_msec);
|
|
void diyac_cursor_emulate_move_absolute(struct diyac_seat *seat, struct wlr_input_device *device,double x, double y, uint32_t time_msec);
|
|
void diyac_cursor_emulate_button(struct diyac_seat *seat, uint32_t button, enum wl_pointer_button_state state, uint32_t time_msec);
|
|
#endif |