blob: ca070a3afda55c0ab406f147fddcd5d1b9906416 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
static const char* mouse_lua = R"(
jin.mouse = jin.mouse or {}
local jm = jin.mouse
local button = {}
function jin.mouse.isDown(btn)
return button[btn]
end
function jin.mouse.set(btn, status)
button[btn] = status
end
)";
|