Refactor the way buttons are handled with two opcodes containing the id of the key. ref #2
With that rarch will be able to detect more effectively pressed keys, and client side, it will more easy.
We also reduce the number of packets sent.