Gamepad recognition

Hello. I can't get my 8BITDO gamepad to be recognized in UM Focal Fossa 20.04. I'm trying to get the NES emulator Higan to recognize the gamepad, but to no avail. Is it MATE or Higan that isn't working right? I successfully installed "joystick" in terminal, but it didn't help. I tried to install "jscalibrator", but it wouldn't install. Any help would be appreciated. Thanks.