Page 1 of 1

Windows 8 Touchscreen API implementation

Posted: Thu Sep 25, 2014 10:22 pm
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.

Re: Windows 8 Touchscreen API implementation

Posted: Mon Sep 29, 2014 5:40 am
by jjmafiae
If it were possible it would be windows only.

Re: Windows 8 Touchscreen API implementation

Posted: Mon Sep 29, 2014 6:35 am
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.)

Re: Windows 8 Touchscreen API implementation

Posted: Tue Sep 30, 2014 5:01 am
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

Re: Windows 8 Touchscreen API implementation

Posted: Sat Oct 04, 2014 1:52 pm
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?

Re: Windows 8 Touchscreen API implementation

Posted: Sat Oct 04, 2014 3:38 pm
by slime
LÖVE has used LuaJIT by default since LÖVE 0.9.0.