Search results

  1. W

    LUA Catching keyboard keys in LUA

    I am searching for a method to catch a pressed key in LUA. In the help file I found a method oapi.keydown(kstate,<Scanode_of_key>) but I get a error message, when I call it: oapi_keydown: argument1: invalid type (expected handle). This is what I tried so far: kstate = {} for i=1,256 do...
  2. W

    Talking to serial devices

    What is the lack of Orbiter compared to flight simulators? We miss a possibility to display values, light led's and so on. With LUA we can do this! We can now talk to a serial device and this is how to do it (works under XP and Windows 7). What do we need. 1. Orbiter (of course :)) 2. A free...
Top