Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* simulate_input_mouse.wren */
|
||||
/* Simulate_input_Mouse.wren */
|
||||
|
||||
var KeyPressMask = 1 << 0
|
||||
var ButtonPressMask = 1 << 2
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/* gcc Simulate_input_Mouse.c -o Simulate_input_Mouse -lX11 -lwren -lm */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
@ -356,7 +358,7 @@ int main(int argc, char **argv) {
|
|||
config.bindForeignMethodFn = &bindForeignMethod;
|
||||
WrenVM* vm = wrenNewVM(&config);
|
||||
const char* module = "main";
|
||||
const char* fileName = "simulate_input_mouse.wren";
|
||||
const char* fileName = "Simulate_input_Mouse.wren";
|
||||
char *script = readFile(fileName);
|
||||
WrenInterpretResult result = wrenInterpret(vm, module, script);
|
||||
switch (result) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue