Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2015
Cpp
Deth Buff Arr
Commits
aec24118
Commit
aec24118
authored
Oct 21, 2015
by
Benjamin 'Albsi' Albsmeier
Browse files
add new version of gamecontrollerdb
parent
fe300c6c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
assets/input/GameControllerDB.LICENSE.txt
View file @
aec24118
Simple DirectMedia Layer
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Simple DirectMedia Layer
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
assets/input/gamecontrollerdb.txt
View file @
aec24118
This diff is collapsed.
Click to expand it.
include/input/input.hpp
View file @
aec24118
...
...
@@ -88,12 +88,12 @@ namespace gdw{
/**prints the mappings*/
void
print_mapping
();
/**Returns true
every frame, as long as it is down
/**Returns true
once it is pressed
* controller_id only for multi controller
*/
bool
pressed
(
std
::
string
mapping
,
int
controller_id
=
-
1
);
/**Returns true
once it is pressed
/**Returns true
every frame, as long as it is down
* controller_id only for multi controller
*/
bool
down
(
std
::
string
mapping
,
int
controller_id
=
-
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment