gamepad.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 26 Oct 2020 12:51:23 +0200
changeset 2441 58d60b3e470a
parent 2225 e7ffc0b15cd5
permissions -rw-r--r--
Print variable value with task debug. Search path.

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