matlo / GIMX

The GIMX software.
GNU General Public License v3.0
586 stars 105 forks source link

Advanced scripting #584

Open matlo opened 6 years ago

matlo commented 6 years ago

The_ LUA script should be provided with the following data:

The LUA script should return the following data:

The straightforward way to do this seems to push everything on the LUA stack. It may be overkill, maybe using the registry is better.

The LUA script should be checked:

matlo commented 4 years ago

LUA scripting seems overkill and raises security concerns when run from an elevated process.

The network API allows controlling a GIMX instance from another process, e.g. a python process. The client could request all devices, and then the server could notify the device events, the controller status, the output reports (rumble, force feedback, leds, wheel range...), and the update period ticks.

Currently GIMX only allows either network input or device input. It could be possible to have both at the same time.