Solved

Flash and Joystick question

Posted on 2011-03-01
7
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

705 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