sdl 2-05 PoolEvent error && raspberry

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

sdl 2-05 PoolEvent error && raspberry

Scap_Pato
good morning.
i've recompiled my program with new sdl 2.05
all working well but
when i use touch screen
my
if (SDL_PollEvent(&e)){
code here
}
recognize it like if key pressed and issue a message
INFO the key you just pressed is not recognize by SDL to help get this fixed please report this to SDL mailing list EVDEV KeyCode 330
INFO the key you just pressed is not recognize by SDL to help get this fixed please report this to SDL mailing list EVDEV KeyCode 330
yes twice every touch pressed

(as you know BTN_TOUCH code is 330)

of course i recognize well the touch screen and the keyboard

any hints?
workaround?
maybe is possible to disable the INFO message ?
my program works fine...
best regards
luigi

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: sdl 2-05 PoolEvent error && raspberry

Scap_Pato
try to be more clear
i use in my applicattion
SDL PollEvent that works well with my keyboard
(every key is recognize without problem)
also i controll touch screen in a different thread
read from so input_event
looking for BTN_TOUCH ABS_X ABS_Y and also this works fine.
the issue start when touch the screen
SDL PollEvent catch event
but doesn't recognize
330 Keycode
(is the value of BTN_TOUCH)
and print INFO message
The key you just pressed is not recognize by SDL to hep get fixed .... please report EVDEV KeyCode 330
where can i add this 330 code to avoid INFO message ( maybe associate to a dummy key)
or
disable INFO message?
complile SDL2.05 in a different way?
or other hints?

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Loading...