Score:0

Configure a joystick in ubunntu 20.04

cn flag

I have a 0079-0006-DragonRaise Inc Generic USB Joystick. It is being recognised by my ubuntu 20.40. On testing with jstest-gtk I found a very odd problem

  • BUTTON_TRIGGER is not recognised
  • Axis 2 is also invoking Buttons 0 and 2 in addition to their original actions
  • Axis 3 is just invoking Buttons 1 and 3
  • BASE buttons are invoking Axises 0 and 1

Is this a problem with my drivers?

Score:0
cn flag

This is a problem with my Gamepad. My drivers are fine.

Score:0
gb flag

Hardware with vendor ID 0x0079 and product ID 0x0006 is usually a generic USB HID gamepad (sometimes called "PC TWIN SHOCK Gamepad"), often with DualShock 2 styling but sometimes with a completely different form factor like this arcade joystick thing. Since the product can't be uniquely identified from the device IDs, it would be helpful if you could edit your question to include a link to a product page showing an image of the device you're trying to use.

HID gamepads technically don't need a driver, but the inputs may not be correctly mapped in games if they don't use the same keycodes described in the Linux Gamepad Specification. Devices with IDs 0076:0006 are handled in the dragonrise module, which seems to do some weird remapping that might cause the behavior you're seeing.

You might have some luck disabling the dragonrise module so the gamepad is handled by the default HID gamepad driver. Force feedback probably won't work but the mapping might be more correct.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.