Well, in that case, you should be able to preventDefault
on an OpenFL key up event, or window.onKeyUp.cancel ()
if you are using Lime APIs directly
I think itās safe to have a default exit built-in, so you donāt get stuck!
Well, in that case, you should be able to preventDefault
on an OpenFL key up event, or window.onKeyUp.cancel ()
if you are using Lime APIs directly
I think itās safe to have a default exit built-in, so you donāt get stuck!
I Agree.
Having to remotely logout a tty isnāt everybodyās cup of tea
SUCCESS - DisplayingABitmap now up and running.
Thanks again for the help.
Ctrl+C might be a good key-stroke for exiting the appā¦
Started looking at the Google Assistant SDK on the Pi and thought about a little OpenFL front-end for it using a 3.5 TouchScren LCD panel Iāve got but arenāt using, rather than the usual LED setup most people have.
Awesome!
Canāt wait to see what you come up withā¦
I just ordered my Google Voice Ai Kit last week
hope to be getting it soon
You donāt really need the kit, just a microphone and a speaker. The Assistant SDK now supports the āOK, Googleā voice activation so no need for the button press - which is cool.
Will keep you posted on progressā¦
Itās too bad that the Voice-recognition service is only available as a paid service in the EU.
Was looking into a combination of AIY, OpenFL and Servos (the motors I mean) as well.
Hey. If you use the Google Assistant SDK (canāt speak for the AIY box but I thought it was essentially the same but with some hardware bits) it works. I have it up and running without any payment AFAIK - and the UK is just about still in the EU for now.
It responds to āOK Googleā and interacts as you would expect. As part of the process, an event is fired on speech recognition completed and gives you the text of what you said, at which point you can process the text and stop the rest of the assistant conversation and do what you want.
Iāve used this in a simple test to switch on/off the RPi LCD touchscreen backlight by voice command. e.g. Screen on/Screen off. Works a treat.
Iāve not had chance to hook it into OpenFL yet though.
The above script is deprecated, use this newer one: