i just remembered a config tool i wrote for my current project that someone might wantto implement
it is a program that lets you set a mousebutton or key to each action like in game control editing, i'll post the source when i find it i think it might be really useful
keycode edit: (requires control.conf, keycodenames.conf amd mousebuttons.conf which i am uploading to my webspace
http://www.lochviewwest.plus.com/conffiles.zip
)
sync on
sync rate 0
dim keycodenames$(50)
dim keycodevalues(50)
dim mousebuttons(50)
maxkeys=50
load array "keycodenames.conf", keycodenames$(0)
load array "control.conf",keycodevalues(0)
load array "mousebuttons.conf",mousebuttons(0)
disable escapekey
do
cls
for i=0 to maxkeys
if keycodenames$(i)<>""
set cursor 0,i*15
print keycodenames$(i)
set cursor 200,i*15
print str$(keycodevalues(i))
set cursor 300,i*15
print str$(mousebuttons(i))
endif
next i
for i=0 to maxkeys
if mousey()>i*15 and mousey()<(i+1)*15 and mousex()<250 and mouseclick()=1 and keycodenames$(i)<>"" and shiftkey()=0
wait key
keycodevalues(i)=scancode()
endif
if mousey()>i*15 and mousey()<(i+1)*15 and mousex()>250 and mouseclick()=1 and keycodenames$(i)<>"" and shiftkey()=0
wait 200
while mouseclick()=0
endwhile
mousebuttons(i)=mouseclick()
wait 200
endif
if mousey()>i*15 and mousey()<(i+1)*15 and mousex()<250 and mouseclick()=1 and keycodenames$(i)<>"" and shiftkey()=1
keycodevalues(i)=0
endif
if mousey()>i*15 and mousey()<(i+1)*15 and mousex()>250 and mouseclick()=1 and keycodenames$(i)<>"" and shiftkey()=1
mousebuttons(i)=-1
endif
next i
if escapekey()=1 then save array "control.conf",keycodevalues(0):save array "mousebuttons.conf",mousebuttons(0):enable escapekey
sync
loop
this is how i load them:
controlconfig:
load array "controls.conf",keycodevalues(0)
load array "mouseaxes.conf",mousevalues$(0)
load array "mousebuttons.conf",mousebuttons$(0)
mouseconx$=mousevalues$(0)
mousecony$=mousevalues$(1)
mouseconzup$=mousevalues$(2)
mouseconzdw$=mousevalues$(3)
minvert=val(mousevalues$(4))
vk_forwards=0
vk_backwards=1
vk_stop=2
vk_right=3
vk_left=4
vk_tright=5
vk_tleft=6
vk_nextwep=7
vk_prevwep=8
vk_wep1=9
vk_wep2=10
vk_wep3=11
vk_wep4=12
vk_wep5=13
vk_wep6=14
vk_wep7=15
vk_wep8=16
vk_wep9=17
vk_wep10=18
m_forwards=0
m_backwards=1
m_stop=2
m_right=3
m_left=4
m_tright=5
m_tleft=6
m_nextwep=7
m_prevwep=8
m_wep1=9
m_wep2=10
m_wep3=11
m_wep4=12
m_wep5=13
m_wep6=14
m_wep7=15
m_wep8=16
m_wep9=17
m_wep10=18
return
i'll post the code to generate the files soon so you can set your own control description
http://www.larinar.tk
AMD athlon 64 3000+, 512mb ddr400, abit kv8, 120gb hdd, gigabit lan, ati radeom 9800se 128mb.