Switch case problem in Arduino code
Replace all:

case '0xZZZZZZZZ':


with:

case 0xZZZZZZZZ:


That's because value in decode_results structure is declared as unsigned long, 0xZZZZZZZZ is an unsigned long, but '0xZZZZZZZZ' is not (actually, it should not even compile).