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

Press key with the keyboard ? #1

Open
AssoMania opened this issue Jun 30, 2017 · 4 comments
Open

Press key with the keyboard ? #1

AssoMania opened this issue Jun 30, 2017 · 4 comments

Comments

@AssoMania
Copy link

Hello there,

I actually didn't try your keyboard yet so it's not really a issue but it's a easy way of contacting you.
I want to ask if it is possible to use the keyboard to press the key on your keyboard.

The reason i'm asking this is because I have a few buttons connected to the GPIO and I wont have any keyboard or mouse attached to it. So I was wondering if it is possible to simulate arrows and enter from the keyboard to navigate in your virtual keyboard.

Thanks

@zrafa
Copy link
Owner

zrafa commented Jul 2, 2017

Hello,
Short answer: yes.
Longer: The linux kernel usually provides some driver/way to interface those GPIO buttons. I have seen them used by opening/reading/closing files under /sys/ filesystem.
If your system already has some usable driver for those GPIO buttons then we are able to modify the code for using your particular environment.
If you need more help with this task just let me know and I will try to help.

Regards

@AssoMania
Copy link
Author

Hello there,

Oh yes I would love to have some help here.
Where should I start ? How can I find out if my system has the driver ?
I'm using Raspbian

@zrafa
Copy link
Owner

zrafa commented Jul 6, 2017

Which board do you have?
Which version of Raspbian?
Which version of Linux kernel your Rasbian and boadr uses (you can check with the command: uname -a )
I do not know Raspbian, but there is plenty of examples to blinking leds, so I guess that there is many examples to control a button. That would be the first task. Try to blink a led and control a button with your rapberry. Then we can continue.

@AssoMania
Copy link
Author

I got a Pi Zero W
Running Build Operating System 4.4.26-v7+ armv71
Current Operating System Linux raspberrypi 4.9.35+ #1014 armv61

I already managed to make the buttons work with Gpioneer that is available on github. I was able to emulate the arrows, enter, escape, backspace and a otehr few keys. Thats ok it's working well

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

2 participants