The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
sdl 2-05 PoolEvent error && raspberry
Scap_Pato


Joined: 10 May 2014
Posts: 11
Location: Italy
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
Scap_Pato


Joined: 10 May 2014
Posts: 11
Location: Italy
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?