IRRemote PC Control Help

Hello everyone! :slight_smile:
Just build a IRRemote reciever with arduino and it works great. The HEX codes of my remote buttons are all well displayed on the serial monitor. What I want to do is control my PC(volume, brightness stuff) using this.
I think I worked this out a bit(although compiling a working code goes up my mind :relaxed:)
The HEX codes of the volume up and down button on my remote would be used the trigger the volume of my PC.

Volume UP : 2028877
Volume DOWN : 20208F7

The reciever code is this:

#include <IRremote.h>

int RECV_PIN = 11;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup()

void loop() {
  if (irrecv.decode(&results)) {
    Serial.println(results.value, HEX);

Anyone done this before?

Please help what to do next.

Thank You! :slight_smile:

Try to incorporate this into your code somehow. it is designed to put in certain key strokes and log off the computer, the same may be done with Vol up and down.

There is an error of Keyboard only supported in Arduino Leonardo.
Anything else?

Another problem, this needs Arduino Leonardo or Uno. I only have Duemilanove. :frowning: