"Questions that don't deserve their own thread" thread

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.
Locked
User avatar
partnano
Prole
Posts: 20
Joined: Sat Jun 11, 2016 4:53 pm
Location: twitter.com/partnano
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by partnano »

Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

So welp. Here's my specs:

Laptop: Asus Zenbook ux303, i7 4510U
Distro: Manjaro Arch 64 bit, Linux 4.5.7
DE: Gnome 3.22
Input Driver: libinput (manages about everything input related on my system afaik)
Love Version: 10.2-1 (newest available in the aur)

Starting to suspect that libinput could be the source of the issue, but I have no evidence so far...
User avatar
Smoggert
Prole
Posts: 29
Joined: Thu Nov 10, 2016 11:23 pm

Re: "Questions that don't deserve their own thread" thread

Post by Smoggert »

// removed. Not helpful
Last edited by Smoggert on Tue Dec 13, 2016 1:14 pm, edited 1 time in total.
User avatar
Beelz
Party member
Posts: 234
Joined: Thu Sep 24, 2015 1:05 pm
Location: New York, USA
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by Beelz »

Smoggert wrote:Have you tried testing with an external keyboard? Cuz it defo looks like its either your drivers or hardware being faulty :D
partnano wrote:Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

Code: Select all

if self:hasBeer() then self:drink()
else self:getBeer() end
GitHub -- Website
User avatar
Smoggert
Prole
Posts: 29
Joined: Thu Nov 10, 2016 11:23 pm

Re: "Questions that don't deserve their own thread" thread

Post by Smoggert »

Wow i even quoted that I need sleep.
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

Re: "Questions that don't deserve their own thread" thread

Post by pgimeno »

partnano wrote:Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

[...]

Starting to suspect that libinput could be the source of the issue, but I have no evidence so far...
I asked about the specs so I could discard some exotic hardware that could have issues. All this sounds pretty standard. Well, except the distro, but I know that Arch is pretty robust, and a quick googling says that Manjaro is Arch-based.

I'm afraid I can't help much more. Maybe change your SDL version to see if that has any effects. SDL is the library that manages LÖVE's input.

I've tried with xev, and even in my system, it issues both key press and key release events for any key I hold.
User avatar
partnano
Prole
Posts: 20
Joined: Sat Jun 11, 2016 4:53 pm
Location: twitter.com/partnano
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by partnano »

Well, thanks anyway for the help and interest! :)

I'll keep experimenting around, maybe I'll be able to find something..
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: "Questions that don't deserve their own thread" thread

Post by Positive07 »

If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
partnano
Prole
Posts: 20
Joined: Sat Jun 11, 2016 4:53 pm
Location: twitter.com/partnano
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by partnano »

Positive07 wrote:If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better
As a final note and why I won't make a new thread.

It's not a löve bug. I experimented a bit and it's actually libinput (/xinput, the Wayland input driver), which sends repeating keypressed/keyreleased events for its keyrepeat. Running a session with Xorg, and therefore other input drivers, everything works as intended in löve.
I don't really know what to do about this yet, but I guess I'll have to do further experiments and double check with other people that run similar systems and at some point might file a bugreport to wherever libinput is developed...

However, I have a feeling that this might be intended behaviour of the Wayland driver so,

yay :/
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by slime »

partnano wrote:
Positive07 wrote:If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better
It's not a löve bug. I experimented a bit and it's actually libinput (/xinput, the Wayland input driver), which sends repeating keypressed/keyreleased events for its keyrepeat. Running a session with Xorg, and therefore other input drivers, everything works as intended in löve.
Could it be this issue (which was fixed after SDL 2.0.5 was released)? https://hg.libsdl.org/SDL/rev/b48d8a98e261
User avatar
4aiman
Party member
Posts: 262
Joined: Sat Jan 16, 2016 10:30 am

Re: "Questions that don't deserve their own thread" thread

Post by 4aiman »

Is there a way to load and display some image from a web server?
Something like

Code: Select all

love.graphics.newImage("http://server.com/imgs/pic1.png")
?
Locked

Who is online

Users browsing this forum: No registered users and 37 guests