so guys i had problems with the GPIOnext and the waveshare driver that i had. They both used pins at the same time.
Thanks mholgatem the programmer of the program he gave me some commands to type in,to configure the buttons with the right pins that are usable. So guys i wired this thing just with the single purpose of using pins who are not used and dont damage the raspberry or the display . So the commands are with my ports .
MY SETTINGS
[
sudo python3 /home/pi/GPIOnext/config_manager.py --pins 3,5,22,10,7,29,31,32,33,35,36,37,38,40
gpionext set pins 3,5,22,10,7,29,31,32,33,35,36,37,38,40
gpionext reload
sudo reboot
//if you soldered your wires to different ports you can add them in the line down below !
[
sudo python3 /home/pi/GPIOnext/config_manager.py --pins 29,31,32,33,35,36,37,38,40
gpionext set pins 29,31,32,33,35,36,37,38,40
gpionext reload
sudo reboot
]