Notifications
Clear all

[Closed] on an event of a key being pressed

hi, is there a way to know what key from the keyboard has been pressed? i know you can do this with a couple already (ctrl, alt), but what if i wanted to know if ‘s’ was pressed?

5 Replies

I would be curious knowing this as well.

hehe… why “S”?

I like where this thread is going. Unfortunately I think the answer I got last time I asked was “Not without the SDK.”

 PEN

on a guess

dotNetClass "system.windows.input.keyBoard"

no reason :). just wanted to give a specific example so there wouldn’t be any confusion. i wonder if there’s a cheat where you can have a dotnet form up offscreen, and read what key is pressed from one of its key events.

i guess this means this can’t be done unless with the SDK. it’s too bad, i’ll just find another alternative.