Missing mouse support prevents connecting when keyboard is pairing
When my Bluetooth keyboard is in pairing mode, I cannot control bluetui using the mouse because the application currently has no mouse support. Since the keyboard is unavailable during pairing, Iām unable to navigate or select devices inside bluetui. This makes it impossible to complete pairing if the keyboard is the only input device available.
Have the same question here.
How do i pair my bluetooth keyboard with mouse, please push a mouse support
@pythops I have time today and can implement a basic mouse support solution if this is something you're looking for in the project.
I hacked a version together that just logs right now:
https://github.com/user-attachments/assets/1491eb33-6cb1-4195-bba4-85b10d830f99
@otomist yes go for it buddy ! looks good.
@pythops I have time today and can implement a basic mouse support solution if this is something you're looking for in the project.
I hacked a version together that just logs right now:
mouse_support.mp4
So didn't we merge it yet? I have same dilemma. Only keyboard on my desk and I need to plug off USB when I want to put it on bluetooth pairing mode.
Sorry for the delay, I'm on it now. I made the first version a draft pr #129 with a simple example of storing section location/ clicking. I wanted to put in a small example first because if I do all the screen sizes it's going to be basically complete refactor of help.rs. @pythops If the approach I'm taking looks good to you I will add the callbacks to each help button and update all the screen sizes in help.rs.
Sorry for this delayed answer but bluetui will not support the mouse. keyboard only. that keeps the code base small, and also the keybindings are intuitive so no need for the mouse, it does not bring any value imo
For others looking for mouse support, there's this project: https://github.com/bluetuith-org/bluetuith (uglier UI yes, but has mouse support built in)
pythops, if you do change your mind, I will say that the value here is those of us using desktops with a bluetooth keyboard as the only keyboard. Personally, I have bluetui bound to a mouse click on an icon in my topbar and being able to manage my keyboard without plugging in it would remove the last cable on my desk.
I also want to add that I vibe-slopped a working implementation that adds less than 300 LOCs (seems clean-ish, happy to take time to clean it up if that would interest you). Not opening a PR with just this yet (according to new AI policy), but here's the commit.