3 Small Questions from a New Guy

Hi

Right

Cool that it worked to start with :slight_smile:

You do indeed have 4 rumblers in that beast. I think its a trivial task to get it working, but have no way of testing it.

The DI_BUFFEROVERFLOW is because direct input buffers up all itā€™s events untill you call a poll, if the device fills the buffer up before you do that, you get an overflow, iā€™ve already increased the buffer size, but I can do so again if we need too, although I suspect that only happened on startup before you did the first poll.

As for the keyboard issue, Iā€™ll take a good look tonight, that was with the new code iā€™ve been sending you not the old code wasnā€™t it?

Endolf

Yea those tests were with the brand new code (the 8-29.zip).
I dont need the rumblers to work - remember i didnt even
know i had rumblers, haha.
Id be glad to help you by testing anything though if youre
resolved to fix that problem.

The code works perfect.
The keyboard thing isnt a big deal for me because ill never
have any reason to poll the wireless keyboard.
I thought i would mention the error though in case it causes
some else any problems.
Is there a built-in max for the number of keys a keyboard can have?
This keyboard seems to have a lot of buttons maybe thats the issue?
Also, how would JInput even handle the ā€œzoom sliderā€ thing-a-ma-bob
on the keyboard?
Hmm, that actually would be a bad-ass thing to incorporate into a game, lol.

Anyway, jesus man isnt like 6am where you are?
Its 3 am, im off to bed.
Ill check in tomm (or rather tonight).

Nah

Iā€™m 5 hours ahead of you, so it was about 8am when I posted.

Try

java -cp jinput.jar -Djava.library.path=. net.java.games.input.test.RumbleTest

or

java -cp jinput.jar -Djava.library.path=. net.java.games.input.test.RumblerTest

(Iā€™m at work and canā€™t remember if it is Rumble or Rumbler), you should get two rumble tests already :), by the time you get in from work/collage or what ever you do during the day, you should have 4 :).

Itā€™s just another toy to play with :slight_smile:

Endolf

Awesome! I havent had the time to work on anything ive wanted to.
Im exhausted from work (and planning to move) -
and yes, making the occasional collage ; )

Out of curiosity (and certainly not necessity) any news about the keyboard errors?

Ill get back here this weekend - I have a 3D model to make ā€” exhausting.

Hi

Sorry, nope. Tuesday evening I was working on the Linux rumbler code, and last night we had power issues all night. Itā€™s typical that the battery on the UPS died about a week ago, so when the power went, my machines just stopped. Otherwise I could have carried on working :), not for the first time :).

So, if anyone has a good battery for a APC smart UPS 1400 going, let me know :slight_smile:

Endolf

Hi

Updated the windows build here. This adds an attempt (canā€™t test it) at supporting more than 2 rumblers on a device, and some more debug for TuringPestā€™s keyboard issue.

Iā€™m not sure about the 4ā€™th axis on the mouse. Iā€™ve done a quick google and got nothing about dealing with it, like where the data is in the directx layer. The directx 8 mouse object doesnā€™t have any info on it. At the moment jinput on windows run on dx8, so unless I find something that says itā€™s dx9 only, iā€™m not sure what to do (apart from more googling :P).

Itā€™s something to be getting on and testing for you TuringPest though :slight_smile:

Endolf