mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 05:10:01 +03:00
basic header docs of all public modules
This commit is contained in:
parent
4e49255070
commit
8d57ff1f5e
35 changed files with 109 additions and 43 deletions
10
joystick.d
10
joystick.d
|
@ -1,5 +1,13 @@
|
|||
/**
|
||||
/++
|
||||
|
||||
Provides a polling-based API to use gamepads/joysticks on Linux and Windows.
|
||||
|
||||
Pass `-version=ps1_style` or `-version=xbox_style` to pick your API style - the constants will use the names of the buttons on those controllers and attempt to emulate the other. ps1_style is compatible with more hardware and thus the default. XBox controllers work with either, though.
|
||||
|
||||
The docs for this file are quite weak, I suggest you view source of [arsd.gamehelers] for an example of how it might be used.
|
||||
+/
|
||||
|
||||
/*
|
||||
FIXME: a simple function to integrate with sdpy event loop. templated function
|
||||
|
||||
HIGH LEVEL NOTES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue