Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra info on Lua events #306

Open
GoogleCodeExporter opened this issue Jun 22, 2015 · 1 comment · May be fixed by #3233
Open

Extra info on Lua events #306

GoogleCodeExporter opened this issue Jun 22, 2015 · 1 comment · May be fixed by #3233
Labels
Enhancement For feature requests or possible improvements re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console) Repro: Fixed/added in branch/fork

Comments

@GoogleCodeExporter
Copy link

It would be nice if the oninputpoll event provided the lua script with which 
controller port was polled, or if the lua script could indicate which 
controllers to monitor.

It would be nice to have the onsavestate/onloadstate events tell the lua script 
which state was saved/loaded.

Original issue reported on code.google.com by [email protected] on 11 Nov 2014 at 2:08

@GoogleCodeExporter
Copy link
Author

According to the code, onsavestate and onloadstate pass the name of the 
savestate to the calling lua function, for reference see 
EMuLuaLibrary.Events.cs -> CallSaveStateEvent()

As for oninutpoll, I think the best implementation is to tell which controllers 
to monitor, this will be a big task though, since each core will have to 
implement it separately

Original comment by [email protected] on 13 Nov 2014 at 11:38

@GoogleCodeExporter GoogleCodeExporter added auto-migrated App: EmuHawk Relating to EmuHawk frontend labels Jun 22, 2015
@zeromus zeromus added re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console) Enhancement For feature requests or possible improvements and removed Type-Enhancement App: EmuHawk Relating to EmuHawk frontend labels Jul 10, 2017
@YoshiRulz YoshiRulz added this to the Remaining Grandfathered Enhancements milestone Feb 7, 2019
@YoshiRulz YoshiRulz removed this from the GCode import feature requests milestone Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For feature requests or possible improvements re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console) Repro: Fixed/added in branch/fork
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants