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

[DRAFT] Send keystrokes via BLE GATT server #113

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

ig-sinicyn
Copy link
Collaborator

No description provided.

@quaxalber
Copy link
Owner

Hi @ig-sinicyn

Thanks so much for your contribution! That's looking really neat.

The title still says [DRAFT] - are you still working on this or planning further changes?

What's your use case for this feature?

Cheers

@ig-sinicyn
Copy link
Collaborator Author

ig-sinicyn commented May 22, 2024

Hi @quaxalber!

This MR is made as an example for this discussion, just as a proof that idea is working.
Technically the code is in good shape and I have no issues with it. The thing is, I'm not sure it fits into the use cases of this project. If you're interested I'll check that my code works with current master branch and will remove the draft mark. If not - I'm fine with it as the BLE relay mode may be not the most useful thing:)

I was originally going to use BLE relay mode to control an Android projector (it has some Bluetooth issues and loses connect to bluetooth mouse / keyboard). Suddenly it turns out the thing is really useful for running commands on another computer.

I have two PCs in use - a working laptop and a thin client nettop for remote virtual machine. I use Elgato Stream Deck for most used shortcuts / commands, but I've failed to pair it with the thin client. So, I've connected Stream Deck to the laptop. Stream Deck command runs BLE command line utility that sends shortcuts to the thin client (via a Raspberry Pi running BLE relay). Voila!:)

@quaxalber
Copy link
Owner

Thanks for the clarification.

Where does RelayKeys fit in this setup? Or has it become redundant by this feature?

While this feature falls out of my intended scope, I can see it being potentially useful to other people with similar use cases.

PS: Would you fancy becoming a maintainer of this project? :)

@ig-sinicyn
Copy link
Collaborator Author

Hi @quaxalber

I've missed the message and I'm very sorry for the late reply.

I've tried the RealyKeys, it works fine and provides much better functionality but requires arduino dongle to work. Actually, the BLE relay mode was made while I was waiting for the nrf52840. It was more like an opportunity to learn something new rather than real project, tbh:)

For the maintainer role - I defennitely want (and going to) help with the project but I'm not sure if my skill level will be good enough. Until now I've used python for small pet projects only. If that is fine - let's go!

@quaxalber
Copy link
Owner

quaxalber commented Jun 16, 2024

No worries :) I'm far from considering myself an expert. This project started out of pure necessity for myself since the existing projects didn't quite suit my needs (and also for fun and learning ^^). I greatly appreciate any help moving forward. Sent you a collab invite.

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.

2 participants