You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
*[Web-based KeyActionBinder tester](http://hosted.zehfernando.com/key-action-binder/tester/): use this to see if your device/OS/browser is recognized by KeyActionBinder (requires Flash Player)
*[Web-based GameInput tester](http://hosted.zehfernando.com/key-action-binder/game-input-tester/): use this to see if OS is supported by Flash at all, and which controls are reported (requires Flash Player)
A pure AS3 source of the tester app can be found on /tests/GameInputTester/src.
222
225
@@ -240,7 +243,7 @@ KeyActionBinder uses the [MIT License](http://choosealicense.com/licenses/mit/).
240
243
* Use caching samples? Change sampling rate?
241
244
* Properly detect buttons that immediately send down+up events that cannot be detected by normal frames (e.g. HOME on OUYA)
242
245
* Allow detecting "any" gamepad key (for "press any key")
243
-
*Finish auto Gamepad control ids
246
+
*More automatic gamepad mappings
244
247
* Still allow platform-specific control ids?
245
248
* Profile and test performance/bottlenecks/memory allocations
246
249
* A better looking KeyActionBinderTester demo
@@ -253,14 +256,19 @@ KeyActionBinder uses the [MIT License](http://choosealicense.com/licenses/mit/).
253
256
254
257
There are everal ways to contribute to this project.
255
258
259
+
### Testing devices
260
+
256
261
To contribute with new key mappings (so more devices are supported by KeyActionBinder):
257
262
258
-
1. Run the [Web-based GameInput tester](http://hosted.zehfernando.com/key-action-binder/game-input-tester/) with your desired device connected to the machine.
259
-
2. Push all buttons.
260
-
3. Take a screenshot.
261
-
4. Take notes of all buttons, indicating which buttons and axis relate to what (e.g. "BUTTON_4" means "directional pad up"). Be sure to include which of the values (-1 or 1) mean "UP" on the gamepad's sticks.
262
-
5. Send the screenshot and the list of controls to zeh at zehfernando dot com.
263
-
6. If possible, test in additional browsers to see if you get different results. In some systems, the regular Flash Player (plugin on FireFox, Safari, etc) behaves differently from the built-in Flash Player (Pepper Flash on Chrome). In this case, we need screenshots and lists of mappings for both kinds of player.
263
+
1. Run the [Web-based KeyActionBinder tester](http://hosted.zehfernando.com/key-action-binder/tester/) with your desired device connected to the machine. Be sure to press all buttons to see if it comes to life. If it works perfectly, there's nothing else needed!
264
+
2. If not, run the [Web-based GameInput tester](http://hosted.zehfernando.com/key-action-binder/game-input-tester/) with your desired device connected to the machine.
265
+
3. Push all buttons.
266
+
4. Take a screenshot.
267
+
5. Take notes of all buttons, indicating which buttons and axis relate to what (e.g. "BUTTON_4" means "directional pad up"). Be sure to include which of the values (-1 or 1) mean "UP" on the gamepad's analog sticks, if needed.
268
+
6.[Create a new issue](http://github.com/zeh/key-action-binder/issues) with the screenshot and the list of controls, stating which exact device was tested, in which OS, and with which browser.
269
+
7. If possible, test in additional browsers to see if you get different results. In some systems, the regular Flash Player (plugin on FireFox, Safari, etc) behaves differently from the built-in Flash Player (Pepper Flash on Chrome). In this case, we need screenshots and lists of mappings for both kinds of player, so the device is more widely supported.
270
+
271
+
### Changing code or mappings yourself
264
272
265
273
To contribute with code, fixes, additions, or even new key mappings added directly to the [controllers list file](https://github.com/zeh/key-action-binder/blob/master/src/com/zehfernando/input/binding/controllers.json), you can just edit the related file inside GitHub (by editing it directly on the website, or creating a fork) and doing a pull request. This is an easy way to contribute, and it guarantees you will be credited for your work (accepted pull requests have their authors automatically show as contributors to the project).
0 commit comments