onscreenkeyboard icon indicating copy to clipboard operation
onscreenkeyboard copied to clipboard

Press key with the keyboard ?

Open AssoMania opened this issue 8 years ago • 4 comments

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

AssoMania avatar Jun 30 '17 17:06 AssoMania

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

zrafa avatar Jul 02 '17 23:07 zrafa

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

AssoMania avatar Jul 05 '17 09:07 AssoMania

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.

zrafa avatar Jul 06 '17 12:07 zrafa

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

AssoMania avatar Jul 08 '17 07:07 AssoMania