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

C++ api for screen_doSimulateInput #5206

Open
ab9rf opened this issue Jan 18, 2025 · 1 comment
Open

C++ api for screen_doSimulateInput #5206

ab9rf opened this issue Jan 18, 2025 · 1 comment

Comments

@ab9rf
Copy link
Member

ab9rf commented Jan 18, 2025

It may be useful to be able to use the functionality of this API without having to use the Lua API to do it. Thus, this API should probably be refactored to have a callable C++ API and a Lua API wrapper that calls the C++ API.

related discord discussion

@lethosor
Copy link
Member

lethosor commented Jan 18, 2025

We already have direct access to viewscreen::feed and feed_key in C++. Passing a set from Lua is hard, which was the main motivation for adding simulateInput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants