The initial problem sounds similar to what I needed in FFMKI. There are controls which can be continously pressed (e.g. fire buttons) and others which needed a pause. I wrapped everything up in a Control interface having the methods:
The magic behind reset() is that it makes isPressed() returning false as long as the user did not release the key, button or axis.
I hope this is what the original poster wanted.
not exactly, but thanks for the idea... i have already something like that.
the problem was, and still is till i finish it, was that i was asking if there was a way or any code available to make JInput behave in a way similar to how a keyboard types (i.e. it detects the intial press, pauses, then detects the press continuously. or things like detect num lock, caps lock, etc.)
i've got no problem with the inputs... i just need them to behave in a certain way...