Sure but it is per device, I am basically telling my system "this is not a joypad". Its just a rule in udev. You'd need to get these values from your own device. Each vendor and product will have one.
# KBD75 Rev2
SUBSYSTEM=="input", ATTRS{idVendor}=="4b42", ATTRS{idProduct}=="6061",
ENV{ID_INPUT_JOYSTICK}=""