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

Ability to disable inputs #871

Closed
alexherbo2 opened this issue Nov 15, 2020 · 5 comments · Fixed by #2216
Closed

Ability to disable inputs #871

alexherbo2 opened this issue Nov 15, 2020 · 5 comments · Fixed by #2216
Milestone

Comments

@alexherbo2
Copy link
Contributor

I’d like an equivalent to swaymsg -t get_inputs and swaymsg input 1:1:AT_Translated_Set_2_keyboard events toggle to disable the native keyboard.

@ammen99
Copy link
Member

ammen99 commented Nov 15, 2020

You can do that from a plugin, do you want this as an IPC command?

@alexherbo2
Copy link
Contributor Author

Not necessarily, it is fine from the config file as it hot reloads.

I just hope it is not an extra plugin, as I haven’t figured out yet how to install plugins on NixOS.

How can I do it?

@ammen99
Copy link
Member

ammen99 commented Nov 15, 2020

From the config reload, we'd need a new option. Right now there is only API for plugins -l mk if you're willing to write a plugin, otherwise, please wait, this will eventually be implemented ;)

@ammen99 ammen99 added this to the 0.8 milestone Jan 21, 2021
@ammen99 ammen99 removed this from the 0.8 milestone Jun 8, 2021
@tasmo
Copy link

tasmo commented Feb 18, 2022

I just hope it is not an extra plugin, as I haven’t figured out yet how to install plugins on NixOS.

How can I do it?

Exactly my question!

@ammen99 ammen99 added this to the 0.9 milestone Oct 23, 2023
This was referenced Mar 8, 2024
@ammen99
Copy link
Member

ammen99 commented Mar 13, 2024

Wayfire's IPC can support this (the necessary functions were present even in the 0.8.1 release). I added an example script in #2216 where you can see how to list and enable/disable inputs.

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

Successfully merging a pull request may close this issue.

3 participants