Leonardo KeyPress with virtual keyword keycode not working !

hey guys,

Im new to arduino, so it might be a stupid question, forgive me. Im just trying to change my pc's volume remotely by arduino, and the first solution came to my mind is simply makin it with keypress volume up-down keys.

But the thing is volume up key (keycode 175 or hex 0xAF) and volume down key (keycode 174 or hex 0xAE) prints out 0 and 9, volume is not changing

my code is simply this

        Keyboard.begin();
        Keyboard.press(175);
        delay(50);
        Keyboard.releaseAll();

do you guys know where the problem is ? is there any other solution can be done to change pc's volume?

thanks..

do you guys know where the problem is ?

Yes. It's you. Posting the same question over and over.

Try something that you can easily verify on the monitor... If this works, then the Leonardo-USB-PC interconnection is OK and it is just that the keyboard code is not being passed to the OS correctly... this happens sometimes with "external" keyboards not having the exact functionality as the main keyboard.

mrburnette:
Try something that you can easily verify on the monitor... If this works, then the Leonardo-USB-PC interconnection is OK and it is just that the keyboard code is not being passed to the OS correctly... this happens sometimes with "external" keyboards not having the exact functionality as the main keyboard.

http://www.youtube.com/watch?v=0fjuJOkk8y4

pin2-gnd thing didnt work either, and yeah other keycodes works just fine, I guess problem is only for voice commands. but thanks for for help.

PaulS:

do you guys know where the problem is ?

Yes. It's you. Posting the same question over and over.

I first commented on a similar topic for help, when no one see and reply it, I wanted to open a new topic with exact problem title. And I guess its a helping forum, and your comment is not helping.

And I guess its a helping forum, and your comment is not helping.

Nor is your duplicate posting. You seem to forget that this is a world-wide forum with many time zones involved, and that not all of us are on 24/7.