Skip to content

Commit 93df949

Browse files
authored
Update README.md
1 parent ddca7d7 commit 93df949

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# sdl2-gamecontroller
22

33
Game controller support for nodejs `EventEmitter` backed by [SDL2](https://www.libsdl.org/).
4+
# Description
5+
6+
Do you want to use a game controller with your node app? You should first ask yourself “why” and you should examine your life choices that have brought you to this point.
7+
8+
If you do find you need to use a game controller with a node app, you are in the right place. I used SDL (Simple DirectMedia Layer) to power the controller because, in my experience, SDL just works. The most recent version has support for the DualSense, but it also has support for every other controller I have tried so far. The node addon is a thin wrapper around the SDL event loop and the SDL functions for rumble and lights.
9+
10+
[Article on LinkedIn](https://www.linkedin.com/pulse/how-use-sdl-powered-game-controller-nodejs-david-nixon)
411

512
# Installation
613

@@ -13,6 +20,9 @@ yarn add sdl2-gamecontroller
1320
```sh
1421
npm install sdl2-gamecontroller
1522
```
23+
# Feedback
24+
25+
Found a bug or just what to let me know what you think. Open an issue on the [issues tab](https://github.com/IBM/sdl2-gamecontroller/issues) or [leave a comment](https://github.com/IBM/sdl2-gamecontroller/issues/9)
1626

1727
# Using the library
1828

0 commit comments

Comments
 (0)