I understand. I also tried to get the ASCII code corresponding to these swipe events but it didn't work indeed. I will use the long press (corresponding to Volume up/down) for now.
Thank you for your quick reply.
Thank you for your quick reply.