[Android] Touch events not working on Samsung Note

Hi, I’m working on a project that I have ported to Android using SDL. The app has been tested on several Android devices and the touch input works fine. However, on Samsung Note devices, finger taps are not recognized; but S-Pen (stylus) taps work fine! Can anyone please shed some light on this situation? As I don’t own a Samsung Note, I am finding this difficult to debug.

This is the skeleton for how I’m processing touch events:

Code:
memset(pevt, 0, sizeof(*pevt));
SDL_Event event;
SDL_PeepEvents(&event, 1, SDL_GETEVENT, SDL_FIRSTEVENT, SDL_LASTEVENT);

switch (event.type) {

case SDL_FINGERDOWN:
// Do stuff
break;

case SDL_FINGERUP:
// Do stuff
break;

case SDL_FINGERMOTION:
// Do stuff
break;

}

1 Like