Originally posted by Kano
View Post
Caster has gone Gold!
Collapse
X
-
Last edited by SolidSteel144; 19 May 2009, 09:14 AM.
-
-
Originally posted by Kano View Postjscal -q /dev/input/js0
jscal: error getting button map: Invalid argument
jscal -u 8,0,1,2,3,4,5,16,17,10,0,0,0,0,0,0,0,0,0,0 /dev/input/js0
The problem seem to be the 0s which are invalid.
I have tested 2.6.29 and didn't saw my bug again.
I will test 2.6.26 and unpatched version.
On 2.6.26 I was able to reproduce your problem with 0s and I believe that hack worked on kernel 2.6.28-rcsomething.
As I said before I don't see that problem on 2.6.29 even with unpatched version.
Can you try this version?Last edited by sobkas; 19 May 2009, 09:31 AM.RBEU #1000000000 - Registered Bad English User
Comment
-
-
Originally posted by Kano View Postjscal -q /dev/input/js0
jscal: error getting button map: Invalid argument
jscal -u 8,0,1,2,3,4,5,16,17,10,0,0,0,0,0,0,0,0,0,0 /dev/input/js0
The problem seem to be the 0s which are invalid.
After patching it command:
jscal -u 8,0,1,3,4,5,16,17,2,-1 /dev/input/js0
should do the trick, but if there is still problem with camera movement(up-down is left-right) this command might help:
jscal -u 8,0,1,4,3,5,16,17,2,-1 /dev/input/js0
Just remember to set SDL_JOYSTICK_DEVICE to your js device.
"SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster.bin"RBEU #1000000000 - Registered Bad English User
Comment
-
-
Your patch is really interesting, now it is possilbe to execute it. It works with:
./jscal -u 8,0,1,4,3,2,5,16,17,-1 /dev/input/js0
./jscal -c /dev/input/js0
Would be nice when the calibration settings would be exchanged as well to skip the -c step. I have to run the game like:
SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster-demo.bin
Without SDL_JOYSTICK_DEVICE override the games uses the values without jscal it seems. But the game is more or less unplayable for me using a pad.Last edited by Kano; 19 May 2009, 01:48 PM.
Comment
-
-
Originally posted by Kano View PostYour patch is really interesting, now it is possilbe to execute it. It works with:
./jscal -u 8,0,1,4,3,2,5,16,17,-1 /dev/input/js0
./jscal -c /dev/input/js0
Would be nice when the calibration settings would be exchanged as well to skip the -c step.
Code:jscal -s 7,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,0,0,536870912,536870912,1,0,0,0,536870912,536870912 /dev/input/js0
Originally posted by Kano View PostI have to run the game like:
SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster-demo.bin
Without SDL_JOYSTICK_DEVICE override the games uses the values without jscal it seems.RBEU #1000000000 - Registered Bad English User
Comment
-
-
Originally posted by Kano View PostCould you fix that directly in jscal -u command?
New patch with corrected -q option.
Now -u will also remap calibration settings.
For -u -1 is replaced by 0
edit:
Newer version2:
Last edited by sobkas; 21 May 2009, 07:15 AM.RBEU #1000000000 - Registered Bad English User
Comment
-
Comment