That's interesting. I just did a clean flash and used pico gapps, to test if it was the gapps package. And my buttons work. I even tried a different rom, which I know had the buttons issues, and it worked too. this time
Somehow flashing the mini gapps package solved the problems.
now THATS interesting!