Windows 8 Touchscreen API implementation

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.
Post Reply
Alex22
Prole
Posts: 26
Joined: Wed Jun 02, 2010 5:42 pm

Windows 8 Touchscreen API implementation

Post by Alex22 »

Hey guys,
is there any information regarding a löve interface for the touchscreen API in Windows 8?
I mean, you can use the mouse right now, but it's such a pity that I can't use this nice multi-touchscreen in my new notebook.
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Windows 8 Touchscreen API implementation

Post by jjmafiae »

If it were possible it would be windows only.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Windows 8 Touchscreen API implementation

Post by Jasoco »

If they're not going to implement OS X specific trackpad gesture support, I don't see them implementing touchscreen. But still, it would be nice to support everything, but people would be releasing .love files without supporting everything first. It might be a mess.

Then again, they did put in support for OS X Lion Fullscreen and HighDPI for Retina displays. So I guess anything is possible. I'm still waiting for detection of left/right scrolling. (Some mouse input devices have wheels that can go in 4 directions. I'd love to be able to use two-finger scrolling to detect all four directions on my trackpad.)
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Windows 8 Touchscreen API implementation

Post by Positive07 »

Actually... its already there... just not by default :ehem: but the Android and iOS port uses the SDL touch API, this API supports smartphone's touch displays but also any other multitouch inputs (like Apples mouse)

You can use LuaJIT FFI with the code that you can find here under "Touch" (and on github)... or just ask for this to be added in the issue tracker
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Alex22
Prole
Posts: 26
Joined: Wed Jun 02, 2010 5:42 pm

Re: Windows 8 Touchscreen API implementation

Post by Alex22 »

Hmm I'd like to try the luajit FFI code, but I can't seem to find a recent luajit löve build.
Are there any builds available?
User avatar
slime
Solid Snayke
Posts: 3159
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Windows 8 Touchscreen API implementation

Post by slime »

LÖVE has used LuaJIT by default since LÖVE 0.9.0.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests