Maybe there is a trick... but I never used that with DosBox...
There is a program called JoyToKey, which transform the Joypad clicks in keyboard letter click. I use it playing with consoles emulators and works just fine.
I hope that could help you!
__________________
|