Skip to main content
alejandrot46638416
Participant
November 25, 2021
Question

Cant assign a key press to a Component

  • November 25, 2021
  • 1 reply
  • 214 views

I want to make a virtual keyboard where the user clicks on each value he wishes to type. But a cant assign a keypress to those compnents.
All i want is; When button is pressed - Type "1"

Is there a way to do this?

 

Thanks

    This topic has been closed for replies.

    1 reply

    AkinGn
    Community Expert
    Community Expert
    November 25, 2021

    Hmmm right now I can think of two ways, one would be assignin key press interaction's destination to another artboard which has "1" written in where it's supposed to be shown. Other way could be making both the keyboard and display a single component and while pressed a key showing the character written on display in another state. I tested and both works, here's the file if you want to check: https://www.dropbox.com/s/4pvyzfjcz4d2u9w/vr-kb.xd?dl=0 Hope this helps