Awesome Lists

Gamepad

by iainlobb

ActionScriptpushed over 9 years ago

Gamepad simulates an analog joystick input using the keyboard. Many times when we access key presses, what we are really doing is pretending that WASD, the arrow keys or some other combination are actually a D-pad or joystick with an X and Y axis, and 1 or 2 fire buttons. Gamepad handles the event capture, maths and other details of this for you, so you only have to think about how you want your game to respond to this input.

AI summary

Input simulator

A library that simplifies keyboard input for Flash games by simulating analog joystick input using the keyboard.

stars
56
forks
7
watching
4
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/iainlobb/Gamepad/links.svg)](https://awesome.facts.dev/awesome/iainlobb/Gamepad)
HTML
<a href="https://awesome.facts.dev/awesome/iainlobb/Gamepad"><img src="https://awesome.facts.dev/shield/iainlobb/Gamepad/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/iainlobb/Gamepad/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.