Game Controller Input

Hi,
I am making a simple drum simulator, and yesterday I asked a question on how to play .wav files. I got that part of my program figured out, and I got it so it can take user input (through a keyboard) to simulate drum sounds.
Now I am asking if there is a way to use a game controller (preferably a rock band drum controller) as an input device. I've looked at the jinput API, but i don't know if it provides the functionality I am looking for.
Any help is greatly appreciated.

endasil wrote:
Supp4sk1llz wrote:
Does anyone have anything on this?I've only just started looking at Jinput for a project of my own, but haven't tried much with it so far. It seems to be the standard Java controller library though. A while back I plugged one of my Xbox (non-360) controllers into my computer and it acted like a game controller. I then took a 360 Guitar hero controller and in my little test app (that was for linux) I could see that the frets were just buttons (non-surprisingly) and the wammy-bar was an axis. I would be surprised if your Rockband controller wasn't also just a typical controller with buttons, axes, etc mapped to the different drums, etc. I'd say that's almost definitely the case, in which case JInput would probably be what you want. You could then map a drum beat to when you sense a certain button on the controller being pushed.
Can't say much else than, try it and let us know how it goes.Ok, I'll try that and if I get it to work i'll report back here
thanks for your help

Similar Messages

  • Game controller inputs not registerin​g

    Hello all,
    I have just purchased a Satellite A505-6300 Laptop.  I am having trouble with a game controller; when I plug it into the USB port, the laptop recognizes the device as "PC USB Wired Stick 8838" and installs the drivers for it.  However, when I test the controller, none of the inputs register.  I have tried calibrating it as well, but the inputs are still not recognized.
    I have used the same controller for another laptop running 64-bit Windows 7, and the inputs register fine.  The controller is a Mad Catz Tournament Edition Fightstick for the Playstation 3.  I have also gone to the manufacturer's website and don't see any additional drivers that need to be installed.
    Would anyone know what the issue could be and how to resolve it? 
    Thanks in advance,
    Marco

    In that scenario you have to be alert to cheating.
    The server should check the positions of the ships regularly to detect whether they may have moved to places they're not supposed to go to (so having an unnaturally high speed which hints at cheating) and things like that.
    If you do damage calculation on the client as well you'll also have to check whether damage is indeed being dealt. Say one side sends a message shooting a laser at the location of another ship doing 1000 points of damage and the other sends back that no damage was done that might indicate a cheater as well (depending on your game of course, if there's shielding etc. and chances to miss...).
    Maybe better to calculate such things serverside.

  • Game controller cripples my system

    When I attach my Tankstick to any USB ports kernel_task uses at least 600% of my CPU's and UserEventAgent takes a full100% of CPU. This never happened in Tiger. When I try to restart I just get the spinning gear and have to hard reset. I've tried booting in safe mode, creating a new user, repairing permissions, Diskwarrior et al but I'm still crippled.
    Any ideas or help would be greatly appreciated.

    Thanks for the replies guys.
    Donald- The controller is supposed to appear as a normal keyboard and the trackball as a normal mouse and I doubt the mfg. would have any additional drivers. Pressing buttons in text Edit does show the proper input as if it was a keyboard but the computer is crawling.
    Now that I think of it when I first tried to connect it the Apple keyboard utility popped up and asked me to press the keys next to the shift button to identify the keyboard. Maybe this is causing an issue since I obviously couldn't press an identifiable shift key on my game controller.
    nerowolfe: Why would a hub be preferred over the built-in ports? I would have thought built-in would be better but I'll try a powered hub just to see.
    Any other thoughts?

  • What's the best game controller for a MacBook Pro?

    I have a mid-2012, non-Retina, 13" MacBook Pro with a 2.5 Ghz i5 and 8 GB of RAM. My current OS is 10.9.1. I've played Starcraft 2 for some time without any problems, but there are a few newer games on the Mac App Store that look like they'd be no fun with a keyboard and mouse. I'm hoping people here have recommendations for the best game pads or controllers that are compatible with Mac.
    Please let me know if you have a controller that works really well for you, thanks!

    I like the Logitech Gamepad F310 for games on my Mac. You're right new games are much better with a game controller!

  • I purchased the Logitech F310 game controller for my 2011 MacBook Pro. How do I get the driver installed for it. The Disk that came with the controller is a mini disk and will not insert into my laptop.

    I purchased the Logitech F310 game controller for my 2011 MacBook Pro. How do I get the driver installed for it. The Disk that came with the controller is a mini disk and will not insert into my laptop.

    May not make a difference anyway. The Logitech support site does not show drivers for Mac OS for the F310:
    http://www.logitech.com/en-us/support/gamepad-f310?crid=411
    I'd contact their support to find out if there is a Mac driver available, and if they can either give you a web link to get it, e-mail you the software, or snail-mail you a standard-size disk with the drivers.

  • Can i connect a games controller to mac to play games, ie fifa, f1. if so where to purchase

    can i connect a games controller to mac to play games, ie fifa, f1. if so where to purchase?

    It is possible, do a web search and you should fine a number of solutions.

  • HT1151 I WOULD LIKE TO USE MY PLAYSTATION 3 GAME CONTROLLER ON MY IMAC FOR CALL OF DUTY4CAN IT BE USED

    i wouu;d like to use my playstation game controller on my imac for call of duty is it possable

    Take a look at:
    http://www.mactrast.com/2013/01/how-to-use-a-playstation-3-controller-with-your- mac/
    MtD

  • Mac mini iPhone 6 game controller?

    can i use my iPhone 6 as a game controller on my mac mini?  such as racing games

    I don't think I've done anything. Honestly we don't use the computer too much. I'm wondering if Image Capture 4.0 is an older version and maybe we had a recent update that made the program not work anymore.
    If there is a way to use Image Capture, I'm all for that but not sure what to do. I will check out the other program after dinner!

  • Will a usb game controller work on a HP ENVY with GE FORCE gaming

     I have a new Hp Envy with the GE Force gaming installed . I want to use a standard usb game controller similar in design to the  Xbox or Playstaion versions. Will a generic controller be compatable with the GE Force games  ?   
    This question was solved.
    View Solution.

    Sure.
    Just make certain that it has drivers for the Windows version you plan on using.
    Take a read of this article reviewing game controllers
    http://lifehacker.com/five-best-pc-gamepads-1311100546
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Game controller for MacBook Pro?

    Are ANY game controllers made especially for Mac? I have tried the Logitech wired version and the Logitech Rumblepad 2 wireless version and neither seem to work with my G5. I even added USB Overdrive, which recognizes the Logitech controllers, and have tried to set the prefs in various games, but still cannot get them to work when the games launch. Seems like there ought to be some easy, plug-and-play game controller for Mac. Any advice? I am very computer literate, yet cannot seem to accomplish this very basic task: Hook up a game controller (that SAYS it works on Mac OS X) and get it to work. (I called Logitech tech support and they said the controllers should work on a Mac, but their driver software and their tech support do not support use on a Mac. Huh?)

    I like the Logitech Gamepad F310 for games on my Mac. You're right new games are much better with a game controller!

  • How to set up an USB game controller

    How to set up an USB game controller on a mac? I am at wits end! Need some help?

    If you already have an iTunes account, simply use that. You do not need a new account.
    Open the iTunes app on the iPad. Go to the bottom of the screen and tap Sign in.

  • Please recommend Bluetooth, wireless,or wired game controller?

    Hello.
    I am curious if anyone out there would have a suggestion for a game controller for on-the-road wit my Late 2008 Macbook ? Bluetooth, wireless,or wired? Brand?
    Thanks

    no comments?

  • What is a good game controller for mountain Lion to use on a mac

    Hello everyone, I like playing games on my mac. But I don't like using my mouse. Is there a good game controller out there, that can be use on Mountain Lion. I have tried using a PS3 with gamepad companion, which don't work. So if anyone is using a nice game controller on their mac, Please let me know. Thank you

    HI,
    Well,
    I will thank you for the Points.
    I will offer this search  (using game controllers in Mountain Lion)
    Your own (this) thread gets listed.
    8:22 PM      Sunday; September 23, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and and iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Saitek P990 Game Controller not recognized by Toshiba L505D Laptop

    Window 7 recognized the Saitek P990 Dual Analog Game Controller no PROBLEM, able to go into Properties Pad Test mode and move thumb doggles in Test Mode with no problem.
    I believe it is The TOSHIBA USB Host Port Controller on my Satellite L505D- S9695 laptop not recognizing the devices. NOThing on Toshiba Download Categories for USB DEVICE DRIVERS ????? What Up with that ??? 

    USB drivers are included in WIndows and in the basic motherboard chipset driver package. 
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Game Controller for Apple iPhone 5?

    is Apple Inc making a Game Controller for Apple iPhone 5 64GB ?? Cause i heard they were, that would be a very good idea? I Read about it on the internet.

    This product will be officially be available in mid November. It will be featured in the coming CES Show. I will keep you update on the progress.
    You may also send me email on the matter.

Maybe you are looking for

  • Touch: Wont turn off: Need to recover due to "Firmware Probl

    Hi all. I have a 40gb Touch that just got the Firmware Problem screen. So, I start looking around here and see about recovery steps, but can't get the player to turn off. Try holding down the power button, nothing. The player turns off while the pape

  • [SQL Question] ORA-00936: missing expression --- Possible Error on subquery

    I have one query that is basically three subqueries together. If I separate them, they run correctly, but once I put them together I get the Oracle error: ORA-00936: missing expression select associate_id, application_id, entity_id, profile_id, langu

  • Multi-language subtitled DVD

    Hi I am building a multi-language DVD which contains numerous dramas all subtitled into 8 different languages. The dvd has a language selection page linking to scripts for each language and then the first of two scene selection menus. This link gives

  • While Installing Oracle10g database in OEL, ERROR

    Hi to all, While Installing Oracle10gDatabase in Oracle Linux in VMware server console, i found the below error:- Output generated from configuration assistant "Oracle Net Configuration Assistant". Command = /home/oracle/oracle/product/10.2.0/db_1/jd

  • Oracle 10g for Solaris 9 (SPARC 64-bit) installation problem

    I am trying to install Oracle Database 10g that I downloaded to my Solaris 9 (64-bit) SunBalde 100 and I got an error when it was running the Database Configuration Assistant. The error that I got is "ORA-12154: TNS: could not resolve the connect ide