USE_LIBINPUT or USE_EVDEV

Hello,

I need to create simple frame buffer based application on raspberry pi. According to my understanding I have two possibilities to implement input:

USE_LIBINPUT
/*-------------------------------------------------

  • Touchscreen as libinput interface (for Linux based systems)
    ------------------------------------------------/

or

USE_EVDEV
/*-------------------------------------------------

  • Mouse or touchpad as evdev interface (for Linux based systems)
    ------------------------------------------------/

In which case I must use EVDEV and in which LIBINPUT?