@jimd0586 said in Dragon's Lair from Daphne Download, what to do when no lair.zip file:
I would upload a screenshot of my jstest but I have been unable to upload screenshots. When I run jstest it has the on:off for each button, but for my joystick it is an axes: and then either a positive or - negative number
@jimd0586 Don't over think it. Don't worry about the axis values, they are for the joysticks and not the buttons (except Left Top and Right Top are axis values).
It's not really difficult at all. Below is the default dainput.ini. I didn't do much with KEY_UP, KEY_DOWN, KEY_LEFT and KEY_RIGHT except remove the values 5, 7, 8, 6 (if you want to use those buttons for another function). The joystick automatically worked I only had to modify the buttons.
Say you want to change action button 1 (KEY_BUTTON1 is the sword in Dragon's Lair). Just run jstest, press a button. If it highlights button 3 then add 1 to the number (3+1=4). 3 is the button and the +1 is because button 0 is reserved so you need to add 1. Every button is the value+1 and 0 is never used. Each line has 3 numbers (the first 2 are keyboard inputs and the last one is for the joystick). Now just find the line below you want to modify (names are self explanatory if not the Wiki explains them) and change the last number which is 14 to the new number which is 4 and that's it. Do this for each button you want to change. Example below.
Original line:
KEY_BUTTON1 = 306 97 14
New line:
KEY_BUTTON1 = 306 97 4