Questions on remapping the keyboard

I do not want to change the language but I want to change some keys. Add DEL with HYPER+BACKSPACE, swap SUPER - CTRL.
I am confused that the layout in matrix.h does not match my hardware, and I fear that I brick it if I compile and upload the wrong one.