gamepad.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 05 Jan 2020 23:56:26 +0200
changeset 2401 7f6cf1952337
parent 2225 e7ffc0b15cd5
permissions -rw-r--r--
Object pretty-print.

.. -*- 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