gamepad.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 04 Jan 2021 11:07:13 +0200
changeset 2499 54c46fdf99a6
parent 2225 e7ffc0b15cd5
permissions -rw-r--r--
Exposing WSL distros.

.. -*- coding: utf-8; -*-

=========
 Gamepad
=========
.. contents::
   :local:

Linux
=====
::

  $ sudo apt-get install joystick
  $ sudo apt-get install jscalibrator
  $ sudo chmod 666 /dev/input/js0

  $ modprobe joydev

  $ jscal /dev/input/js0
  $ jstest /dev/input/js0