]> git.tdb.fi Git - libs/gui.git/commit
Enumerate available game controllers
authorMikko Rasa <tdb@tdb.fi>
Mon, 19 Sep 2016 20:39:14 +0000 (23:39 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 20 Sep 2016 08:13:54 +0000 (11:13 +0300)
commit7262f1e7e9ea88a021c14de9dc06ebe76112afd7
treed9b851f86088d13aefe4a19b903e5ba459a53d37
parent0c815f73032aa6006647aff94b5498ac9d1e859b
Enumerate available game controllers

Assign indices from zero to N-1 internally.  This makes it easier for
applications to use game controllers as the first available controller
will always have index zero.
source/input/gamecontroller.cpp [new file with mode: 0644]
source/input/gamecontroller.h
source/input/generic/gamecontroller.cpp
source/input/linux/gamecontroller.cpp
source/input/linux/gamecontroller_platform.h