I'm new to C++ and am trying to figure out some of the language.. I'm attempting to make it so if I have 3 different buttons on an IR remote that they correspond to a single case statement. I know I can have 3 separate ones set up like: Case 1: Case 2: Case 3: for an or statement, but is there a way when I define the case name corresponding to the hex number from the remote they can be in an or statement? I was trying it like:
#define case1 0xFF42BD || 0xFF4AB5 || 0xFF52AD
That didn't work, is it even possible to have an or like this?