aboutsummaryrefslogblamecommitdiff
path: root/src/common/include/proto/mouse.h
blob: 782620cb4d577a0e71b8c485ffc0c61108776ae0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                         
#pragma once

#include <stdint.h>
#include <stddef.h>

typedef struct {
	int16_t delta_x, delta_y;
	int8_t delta_wheel;
	uint8_t lbtn, rbtn, midbtn;
} mouse_event_t;

/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/