Coolie Hat bug?

Hi
I’ve only tried this with my Saitek cyborg 3d usb joystick and the readtest app, but when i move the hat into the up position I get a reading of UP, when I move it left i get a reading of left, when i move it to the top left corner, I get off, which means I can’t move the hat in more than one axis at a time. Is this expected behavior?, it seems wrong to me, I know the hat can’t have both up and left values, but should there be at least an UP_LEFT, UP_RIGHT, DOWN_LEFT, DOWN_RIGHT possible value?

Cheers

Endolf

Hi
I’ve knocked up a change for this, and i’ve updated the readtest. I’m still not sure if this is what you want, but it makes sence to me. When using the coolie hat to control the view point it’s often desirable to move your head diagonally. If you want me to commit this change let me know.

Cheers

Endolf

Sounds great :slight_smile: Feel free to commit it :slight_smile:

Hi
Does someone want to review the changes before I commit them?

Cheers

Endolf

Hi
Done, got someone local to review, it’s not a complex change, I just believe in at least some form of process :slight_smile:

Cheers

Endolf

Oky,

In the future if you want me to do code check just ask.

I think we’re going to be pretty loose, at least as a first policy, with commitment. If you have developer status then its assumed you have some idea what you are doing. Something we are going to do is set up nightly builds and automated JUnit tests so if anyone breaks the build hopefully we’ll know and can revert.

Finally we will be doing periodic ‘releases’ and on a release it’ll be the project admins job to do thorough testing and review.

At least thats how I understand the process right now :slight_smile:

[quote]Oky,

In the future if you want me to do code check just ask.
[/quote]
Ok, by email on on the here?, I have a feeling i’m gonna need a review next week some time, unless things go wrong :), I’ll get my other reviewer in again if I can as it’s largish code, more eyes = more chance of spotting my topys (typos typoed) :), that and the huge architectural wholes i’ll be opening up, and memory leaks in the native code, aah, the joys of C :slight_smile:

Cheers

Endolf