SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
sdl 2-05 PoolEvent error && raspberry
Scap_Pato


Joined: 10 May 2014
Posts: 11
Location: Italy
Reply with quote
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
View user's profileSend private messageSend e-mail
Scap_Pato


Joined: 10 May 2014
Posts: 11
Location: Italy
Reply with quote
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?
View user's profileSend private messageSend e-mail
sdl 2-05 PoolEvent error && raspberry
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic