Controller help

Hi All,

Im new to python so please ignore my miss understanding.

I am interested in something, i work as a engineer that works with controllers and i was thinking about looking into making my own using python.

I need a basic display with buttons on, these buttons will change different parameters in a folder for example,

top button turns a light on
bottom button turns something off
right 2 buttons goes up and down, is they a controller on the market that i can get that will allow me to do this, i doo have a pi 4

After this i need to do the programming side but i will look into this later, what sort of idk do i need flask or panda etc?

Thanks