Re: Happy New Year everyone... an update on key forcing.....


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by Howard Casto on 1, 2002 at 2:58 AM:

In Reply to: Re: Happy New Year everyone... an update on key forcing..... posted by Lilwolf on 1, 2002 at 2:02 AM:

I would like to say yes, but my java coding skills are so lacking I won't even attempt to explain it...

I use a combination of getkeystate, setkeyboardinput, and keybd_event to do it....
all of which should work in java

(the problem is of course that java's documentation never has examples, which complicates things a bit)

keybd_event is outdated, but contains a "bug" which makes it force it's way into the keymatrix regardless of the app running.

setkeyboardinput is much more versiatile in that it will tell the diff between left and right command keys, but dosen't "force" itself as well. (thus the reason that i haven't been able to get modeler to launch in fullscreen yet)

: Congrates on your find... (assuming you don't happen to know how to do it in java do you??)




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]