Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
DGLux and keyboard
-
Hi everyone, I was wondering if there's a way to make a list in DGLux through which you could go by using keyboard arrows. For example, you have DGLux page names listed, you click on one name in that list, it shows that page in a layout for pages, Now, when you press down arrow, it'll select the second page in the list and show it in a layout for pages, the same with other pages in the list. It seems to me that DGLux is mostly mouse and touchpad oriented.
Thanks, Stefan.
-
In DGLux 2.5, I do not believe so. I don't think there is an event propagation model like in HTML, so there is no way built in to catch all keypresses by a single object.... but then, for almost all objects except explicit inputs it is not possible to catch any keypresses.
So, there's the hack-it-together solution: use an input with a change trigger that invokes a script. The Script would read the text input and perform any behaviors necessary then set the input back to blank if it wasn't already. You wouldn't be able to use the arrow keys, since they probably don't have a value to the input field, but you could use WADS, the num pad or something.