# Joystick Input Callbacks, Rumble, and the PS4 Controller

**URL:** <https://discourse.glfw.org/t/joystick-input-callbacks-rumble-and-the-ps4-controller/1890>\
**Category:** dev\
**Created:** [July 1, 2021, 11:27pm UTC](https://discourse.glfw.org/t/joystick-input-callbacks-rumble-and-the-ps4-controller/1890 "2021-07-01T23:27:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameskr97](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/jameskr97/32/512_2.png) [@jameskr97](https://discourse.glfw.org/u/jameskr97)\
**Post date:** [July 1, 2021, 11:27pm UTC](https://discourse.glfw.org/t/joystick-input-callbacks-rumble-and-the-ps4-controller/1890/1 "2021-07-01T23:27:47Z")

</div>

Hi GLFW Devs,

I’ve been using GLFW for a while. I would like to help it reach the 3.4 release. These are the things that I am able to contribute in a cross-platform manner.

- Joystick/Gamepad input callbacks (Closing [#601](https://github.com/glfw/glfw/issues/601))
- Gamepad rumble/vibration (Closing [#57](https://github.com/glfw/glfw/issues/57))
- Playstation 4 Controller Touchpad and LED support

I wanted to ask a few questions I could not find answered on the repository before starting:

- Is it necessary that the `src/` folder stays flat, with no folders to add code organization?
- Is it a goal of glfw to have as few dependencies as possible/roll-your-own for most parts of the codebase?
- Is this forum the best way to communicate with the core devs of the project?

Looking forward to your responses.

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [July 2, 2021, 9:02am UTC](https://discourse.glfw.org/t/joystick-input-callbacks-rumble-and-the-ps4-controller/1890/2 "2021-07-02T09:02:07Z")

</div>

Hi @jameskr97,

This forum is primarily for support - most discussion of PRs occurs on Github.

I believe #601 already has a PR:

> <https://github.com/glfw/glfw/pull/1590>
>
> This PR attempt to fix #601.

I see that [#57](https://github.com/glfw/glfw/issues/57) has both been around for a while and marked as urgent so might be a good place to start.

With regards to your questions:

- Is it necessary that the `src/` folder stays flat, with no folders to add code organization?

Yes, and in general I’d advise any new contributor to a project not to modify the project structure.

- Is it a goal of glfw to have as few dependencies as possible/roll-your-own for most parts of the codebase?

Yes, GFLW has no dependencies outside those provided by the OS / Compiler.

- Is this forum the best way to communicate with the core devs of the project?

No - I’d use Github.

Please do read the [GLFW contribution guide on ‘Contributing a feature’](https://github.com/glfw/glfw/blob/master/docs/CONTRIBUTING.md#contributing-a-feature).

Note that GLFW is a large project with a small number of core devs and a lot of outstanding PRs, so contributions may not get much traction for some time.

Good luck!

Cheers,

Doug.
