On Wed, Apr 27, 2011 at 10:35:32AM -0700, [email protected] wrote: > -Added Joystick Config button to Options dialog, but it's disabled for now. > -Updated release notes.
I have been meaning to have a chat with you Jay, about how joystick support should work. the joystick support in the gfx_sdl backend is pretty terrible, and I really want to improve it, so I am interested in your plans gfx_directx's joystick support. Right now, gfx_sdl just takes the first two axises on the first joystick and assumes they are the x and y axis, and takes the first two buttons and assumes they are reasonable for accept/cancel. This is a reasonable assumption on many older joysticks, but it fails badly on many others (PS3 USB joysticks are a great example of a common one it fails on) Another problem is that button presses are oversensitive. They need to work more like keypresses do in gfx_sdl And the built-in joystick calibration screen (CTRL+J) is utter worthless crap. It can only set analog thresholds (which is was important in the DOS days, but is worthless on modern hardware) and switch the action of the first two buttons. I also noticed in the gfx_directx plan, that you mentioned the possibility of mapping joystick input to keyboard input. In many ways I really like this. I do want the joystick button behavior to be really consistent witht he keyboard behavior. I am a little worried about having a feature like this enabled by default for old games, because I can see it potentially breaking games that plotscript input with both keyboard and joystick support... but the number of games that actually do that is probably extremely small... I only know of two of them, and I wrote them both, and both of them would be unaffected by a thing like that, so it is probably harmless. I think I would prefer to have a joystick-to-keyboard mapping feature standard for the engine, rather than built into each backend... but that is something that still needs thinking about. Also somewhat relevant: http://rpg.hamsterrepublic.com/ohrrpgce/Plan_for_improved_mouse_support --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
