Touch support SDL 2.0.5 Raspberry Waveshare 7"


#1

Event: time 1490594152.392378, -------------- EV_SYN ------------
Event: time 1490594176.286608, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 4
Event: time 1490594176.286608, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 104
Event: time 1490594176.286608, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 84
Event: time 1490594176.286608, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 1
Event: time 1490594176.286608, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1490594176.286608, type 3 (EV_ABS), code 0 (ABS_X), value 104
Event: time 1490594176.286608, type 3 (EV_ABS), code 1 (ABS_Y), value 84
Event: time 1490594176.286608, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 1
Event: time 1490594176.286608, -------------- EV_SYN ------------
Event: time 1490594176.327579, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 103
Event: time 1490594176.327579, type 3 (EV_ABS), code 0 (ABS_X), value 103
Event: time 1490594176.327579, -------------- EV_SYN ------------
Event: time 1490594176.341589, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 102
Event: time 1490594176.341589, type 3 (EV_ABS), code 0 (ABS_X), value 102
Event: time 1490594176.341589, -------------- EV_SYN ------------
Event: time 1490594176.355589, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 76
Event: time 1490594176.355589, type 3 (EV_ABS), code 1 (ABS_Y), value 76
Event: time 1490594176.355589, -------------- EV_SYN ------------
Event: time 1490594176.372579, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1490594176.372579, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1490594176.372579, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1490594176.372579, -------------- EV_SYN ------------

I get an Error Message for Keycode 330. Wen i only touch an Button i get no Touch Event wen Touch an move the finger it works. In try to build an GUI without X.
Is there an Fix or some Help me to Fix this ?

Sorry for my bad english am German.