about summary refs log tree commit diff
path: root/pkgs/list-gamecontrollers
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Replace pkgconfig with pkg-configaszlig2021-06-161-2/+2
| | | | | | | | | | | | | | This is another alias which got introduced in 2018, because the actual command is "pkg-config" and so the package name containing a dash is more reasonable. The reason why I'm doing this is because NixOS VM tests now disallow aliases and while the evaluation error in question only affected the "gnupg" test, I decided to change all occurences in the event that we might want to disallow aliases for things other than VM tests. Signed-off-by: aszlig <aszlig@nix.build> Cc: @sternenseemann for "opam-env"
* pkgs/list-gamecontrollers: Fix buildaszlig2018-06-281-3/+3
| | | | | | | | | This package has been broken for a long time, because in the meantime (actually quite a while ago, maybe a year even) runCommand no longer includes a C compiler. So let's switch to runCommandCC instead and use "cc" instead of "gcc" to be Clang-compatible. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs: Add a small utility to dump joystick GUIDsaszlig2016-01-262-0/+41
SDL 2 has an environment variable called SDL_GAMECONTROLLERCONFIG, which lists button/axis mappings of various game controllers attached to the system. The game controllers are themselves identified using a GUID which is SDL 2 specific and this tool is there to just dump the name of a particular game controller along with the GUID so it's easier to get the GUID. Signed-off-by: aszlig <aszlig@redmoonstudios.org>