Skip to content

Conversation

@mnutt
Copy link
Contributor

@mnutt mnutt commented Feb 29, 2024

Thanks for creating ydotool, it has been very helpful to me! Background on my use case: I have a raspberry pi attached to a touchscreen, sitting on my desk next to my regular computer. The touchscreen works fine for mouse input but I don't have space for a second keyboard for the pi, and the on-screen keyboard is painful and something like Synergy seems pretty heavy. I recently switched to Wayland.

I know ydotool is typically more targeted at scripting, but I found it worked pretty well to just accept keyboard input from stdin. It's not 100% 1:1 mapping (you can't currently send ctrl-c to wayland, there are probably some other edge cases) but it works well enough for how I use it: I ssh to the pi and start ydotool stdin to use my main keyboard to type on the pi.

I completely understand if this isn't a direction you want to go with the project, but wanted to mention it in case you or others found it useful.

todo

  • removing the debug statements, at least by default
  • the mappings are a superset of the ones in tool_type and could probably be merged together

@ReimuNotMoe ReimuNotMoe marked this pull request as ready for review March 2, 2024 15:18
@ReimuNotMoe ReimuNotMoe merged commit e6beba0 into ReimuNotMoe:master Mar 2, 2024
@Paiusco
Copy link
Contributor

Paiusco commented Mar 6, 2024

it'd be nice to also add more info into the help and man on how to better use it @mnutt

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

Successfully merging this pull request may close these issues.

3 participants