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

Re-think "How to integrate with other scripts" #40

Open
natural-harmonia-gropius opened this issue Jan 6, 2024 · 0 comments
Open

Re-think "How to integrate with other scripts" #40

natural-harmonia-gropius opened this issue Jan 6, 2024 · 0 comments

Comments

@natural-harmonia-gropius
Copy link
Owner

natural-harmonia-gropius commented Jan 6, 2024

For same key, events will be merged with existing events.

I dislike this, shouldn't pollute to existing binds. every source should make changes in its own field.

  • add bind_from_script_message
  • mp.commandv('script-message-to', 'inputevent', 'bind', field, key, on)
  • configs="input.conf,~~/test.conf,~~/test.json,example.field,example2.field"

update:

"field" should have higher priority than "options.configs" and modify configs would break hot-reload via auto-profile.

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

1 participant