Jump to content

Capture all keys


Jammer
 Share

Recommended Posts

Hi,

As far as I know Apple remote works as a USB Keyboard in Windows. The main problem is that I want to make the remote usable in Windows, I know that Apple Remote sends some key strokes, but how do I find out what key strokes does it send?

Link to comment
Share on other sites

The farest I've got

VK SC

41 01E u 0.11 A

0D 01C u 0.22 Enter

74 03F d 0.63 F5

B0 119 a d 2.94 Remote Control Key

VK - Virtual Key

SC - Scancode

Third tab - type, a=Artificial

Fourth tab = Up/Down

How do I set a HotKey for that?

Link to comment
Share on other sites

The farest I've got

VK SC

41 01E u 0.11 A

0D 01C u 0.22 Enter

74 03F d 0.63 F5

B0 119 a d 2.94 Remote Control Key

VK - Virtual Key

SC - Scancode

Third tab - type, a=Artificial

Fourth tab = Up/Down

How do I set a HotKey for that?

Hi,

Use ispressed

#Include <Misc.au3>;add ispressed function

While 1
Sleep(100)
If _IsPressed("0D") Then;detect if enter has been pressed by user
Msgbox(3096,"key","Enter pressed")
Endif
WEnd

Edit : Search in forum an example by Paulie for detect if anykey is pressed but not each one :)

Edited by FireFox
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...