Hello everybody!
I want to program my own table gadget and I have no idea how make a Keyboard input.
How can I get an input from all Keys of the Keyboard like it is on a StringGadget()?
Thanks for help
Keyboard input
Keyboard input
macOS Catalina 10.15.7
Re: Keyboard input
I'm not exactly sure what you want but if you are using the CanvasGadget to create your own gadget, you can probably use #PB_EventType_Input .
If you want to catch keys without having focus to a specific gadget, you can tap into the event stream for key down events.
If you want to catch keys without having focus to a specific gadget, you can tap into the event stream for key down events.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Keyboard input
Now that is interesting!wilbert wrote:If you want to catch keys without having focus to a specific gadget, you can tap into the event stream for key down events.
Must investigate. Thank you, very much.
DE AA EB
Re: Keyboard input
Maybe #PB_EventType_Input is a good starting point.
Thanks
Thanks
macOS Catalina 10.15.7