Solved

Flash and Joystick question

Posted on 2011-03-01
7
346 Views
Last Modified: 2012-05-11
we have a joystick and i'm testing this with an old pacman game.
if i keep a key press down, the joystick does not get repeated events, just once.
anyone have any idea about how to get a joystick and place to play nicely.
0
Comment
Question by:blue-genie
  • 5
7 Comments
 
LVL 9

Assisted Solution

by:sah18
sah18 earned 250 total points
ID: 35008212
I believe to use a joystick with Flash, you need to use the Joystick's software and map its movement to keyboard keys (which Flash does support).  If you are able to map to repeatable keys, this may solve your problem.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35008365
how do i map to repeatable keys?
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35009168
we did a test now. when going in a diagonal, the windows driver/app sends out the 2 keys, however once i change it from say north east to just east, it does not seem to update accordingly.

i'm not sure what the correct terminology is here, on a fact finding mission to try and figure this out.

0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 19

Accepted Solution

by:
quizengine earned 250 total points
ID: 35009567
try xpadder.com - Xpadder simulates the keyboard and mouse using your gamepad.

It's primarily written to allow you to control games from a joystick / joypad where the games have no native support for joysticks / pads. Very versatile / tons of options. Hope it helps.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35009879
@quizengine tx - busy downloading some other thing i google'd.
will get back to you guys.
0
 
LVL 39

Author Comment

by:blue-genie
ID: 35014880
@quizengine - that xpadder requires purchase, not an option at the moment.

it seems the problem doesn't reside with flash but  it's a windows issue (or so i've been told) - the C# guys are dealing with it now.

:-)
i'm going to go ahead and close this, and award points for the effort.
0
 
LVL 39

Author Closing Comment

by:blue-genie
ID: 35014887
the problem didn't exist in flash.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question