aboutsummaryrefslogtreecommitdiff
path: root/src/syslua/lx/protodef.lua
blob: f7f3fc01a37b32b835cd72c7e5a3d342a209236b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
local protodef = {
	mouse_event = {
		-- common/include/proto/mouse.h
		fmt = 'hhbBBB',
		len = 8
	},
	kbd_event = {
		-- common/include/proto/keyboard.h
		fmt = 'HH',
		len = 4
	},
	token = {
		-- common/include/proto/token.h
		fmt = 'c16',
		len = 16
	}
}

-- common/include/proto/fb.h
protodef.fb_info = {
	fmt = 'lllll',
	len = 20
}
protodef.fb_region = {
	fmt = 'llll',
	len = 16
}

return protodef