~xdavidwu/motion-control

ref: ffeec99fd75a4fe980e55a6eecb07e9cc71e70d9 motion-control/evdev/types.ha -rw-r--r-- 212 bytes
ffeec99fxdavidwu evdev: wrap errors to errors::error 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use rt;

export type libevdev = *void;

export type input_event = struct {
	time:	rt::timeval,
	_type:	u16,
	code:	u16,
	value:	i32,
};

export type unknown_error = !void;

export def READ_FLAG_NORMAL: uint	= 2;