![]() |
![]() |
#1 |
I Identify as an Ewok
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,357
|
TFX with PC analog joystick
Anyone had much luck getting TFX to work with an analog joystick? I've just bought a Raptor Mach 2 in the hope of getting it working.
I've run the analog joystick configuration and you can see my settings for the joystick in the screenshot. The problem is it doesn't seem to save the numbers to the file attached. In the game it flys erratically and rarely straight tending to pull to the left sharply and randomly. Maybe I can hardcode the file with my joysticks values if I knew which ones to change. Anyone else had much luck with this? |
![]() |
![]() |
#2 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,303
|
Looks like format is ?,XCenter,XRange,YCenter,YRange,....
That seems to match what's in your file on the face of it. I don't know much about analogue joysticks though, so can't really help much. Code that reads it is like this (if anyone can e.g. see that potgo thing is wrong). Called in vblank int routine: Code:
MOVE.W POT1DAT,_Anal1X ;3f974: 33f900dff014000a15c0 MOVE.W #$0001,POTGO ;3f97e: 33fc000100dff034 MOVE.B _Anal1X,D0 ;3f986: 1039000a15c0 LSL.W #8,D0 ;3f98c: e148 MOVE.W D0,_joystick_x_position ;3f98e: 33c0000a15ca MOVE.B _Anal1Y,D0 ;3f994: 1039000a15c1 LSL.W #8,D0 ;3f99a: e148 MOVE.W D0,_joystick_y_position ;3f99c: 33c0000a15d4 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
analog joystick on amiga ? | demether | support.Games | 19 | 26 May 2024 14:29 |
Analog PC joystick to Amiga? | Chain | Hardware mods | 3 | 20 February 2009 18:32 |
Analog joystick scaling | rmzalbar | support.WinUAE | 6 | 17 November 2007 23:37 |
Analog joystick | frikilokooo | MarketPlace | 5 | 13 October 2007 12:22 |
Using a PC analog Joystick on Amiga | TenakaUK | support.Hardware | 0 | 09 June 2004 17:16 |
|
|