IR Library Using Case Switch

Thanks. It semi works but not correctly.

case 2011287691: //UP
case 4294967295:
digitalWrite(led7, HIGH);
delay(500);
break;

The problem is pressing the down key and holding, will it run the case for the UP key.

2nd problem, I can't use 2 case with same value, gives me duplicate value error.

Since I need both Up and Down keys, either could be pressed and held down which produces repeated F's.

There is a right way of doing this, I just don't know how.