How to configure Joy2key for visual boy advance express?

Imagen de btc
btc
0 puntos

Hi, i'm trying to play Pokemon(R/G) in the VBA express with a joystick using joy2key
my .joy2keyrc file is:

START vbaexpress
-X
-dev /dev/input/js1
-buttons z x KP_Enter KP_Space a s
-axis Left Right Up Down
-autorepeat 1
-thresh 16383 -16383 32767 -32767

(the equivalent of the keys i could find in http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h)

the problem is when i try to use my joystick the game does not recognize it,

my command to use the joy2key is ".> joy2key -rcfile .joy2keyrc -config vbaexpress"

Greetings.