check "desktop" or "mobile"

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
slime
Solid Snayke
Posts: 2820
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: check "desktop" or "mobile"

Post by slime » Sun Jul 30, 2017 1:47 pm

Tricky wrote:
Sun Jul 30, 2017 9:29 am
I guess using that system virtual keyboard creates keypress/release events in the same manner a “real” keyboard does
It does, but more importantly it also creates love.textinput events in the same manner as a real keyboard - and text input events are what you should use when the user is entering text into a text box.

User avatar
Tricky
Citizen
Posts: 75
Joined: Thu Dec 18, 2014 4:07 pm
Location: Breda, the Netherlands
Contact:

Re: check "desktop" or "mobile"

Post by Tricky » Tue Aug 01, 2017 6:00 pm

Cool, that makes one problem out of the way. ;)
Thanks a lot ;)
Now onto the rest of my “study” ;)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 11 guests