User Activity

Hi, I am new to this STM32 development. I am using STM32F051R8Tx board and STM32CubeIDE. I want to read the push button for long press and short press how to do this?
Hi, I am new to this STM. I am working on a touch sensor project. I need to use 4 touch buttons. I am having an STM32F051R8Tx board. how to read those touch buttons. Please help me.