Help with icade joystick support

fstltnafstltna Member Posts: 96
edited November -1 in Miscellaneous
I am going back and updating all my games to support the icade joystick, but I don't have one so I need someone who does to try them out. Please get back to me if you are interested...

Marisa

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Move to 'misc' as GS does not support icade (yet! Would be nice!)

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • fstltnafstltna Member Posts: 96
    Icade looks like just a keyboard, if I add the key presses to my games, shouldn't it just work? It doesn't require different coding, just another rule for the key being pressed...
  • quantumsheepquantumsheep Member Posts: 8,188
    fstltna said:
    Icade looks like just a keyboard, if I add the key presses to my games, shouldn't it just work? It doesn't require different coding, just another rule for the key being pressed...

    Well there's an interesting idea if ever I heard one! That would be awesome if true, but I have no way of knowing as I don't have one!

    VERY interesting though!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Unfortently it isnt possible in gamesalad right now because icade uses bluetooth to send the joystick adn button presses to your app which in turn reads it as key presses. And in gamesalad we currently dont have bluetooth support, so theres no way to retrieve the info

    Heres the icade developer pdf if you want to take a gander for yourself

    http://www.thinkgeek.com/files/iCADE/iCade_Dev_Resource_v1_3.pdf
  • fstltnafstltna Member Posts: 96
    I do have a bluetooth mini keyboard, which is basically the same thing, but I need to test it in GS. For the games where it will work I already have key presses for my Mac to integrate them.

    Could you move this back, so I can get someone to test it for me? I have the key presses each button uses, I just need to see if I mapped them appropriately. After they test it we will know if it works :)

    Marisa
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    You dont understand what im saying.Gamesalad does not support bluetooth. It doesnt matter if you map all the keys right, pressing somethign on the icade wont do anything because theres no bluetooth in your app to send the signal too.
  • fstltnafstltna Member Posts: 96
    Are you sure that the icade doesn't just appear like a keyboard? I wouldn't think every app had to support Bluetooth, just the OS needs to. I have the docs on the icade, and they show the various key presses for each button & joystick.

    I will try out my mini keyboard, but as I said I don't think every app needs to support Bluetooth, it's a job for th OS, right? I'll let you know...
  • quantumsheepquantumsheep Member Posts: 8,188
    I imagine this is also why there's an actual SDK for icade that developers have to add to their apps in order to use the hardware.

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Im positive. Its not as easy as you think. If your app wants to support icade is HAS to have bluetooth. Its not as simple as mapping out keys. Just like qs said, theres a whole icade sdk for putting it in your app. Apps arent updated to have icade. Apps are built specifically for and around it.

    https://github.com/scarnie/iCade-iOS

    sorry to disapoint
  • fstltnafstltna Member Posts: 96
    Ok, I'll trust you until I test one of my games and see. :)
  • fstltnafstltna Member Posts: 96
    I just checked it out, and you are correct it doesn't work in GS. But I don't think it is due to missing Bluetooth per se, but rather they are not using the system API for input, probably for performance reasons.

    I tested it with my 2 obj-c games, which do not know anything about Bluetooth but use the system calls for input, and they both recognized the key presses I did on the BT keyboard.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    i dont feel like typing another long paragraph lol. I can assure you you need bluetooth though
  • fstltnafstltna Member Posts: 96
    I believe you :)
  • chumsizechumsize Member Posts: 10
    Wish I had seen this before I bought one of the dumb things... Looks like GS runtime blocks ALL key entry. Can't even use ipad (direct connect) keyboard for keypress events.

    And John - I hate to disappoint you, but there is absolutely no Bluetooth in the core SDK implementation. All it does is observe the keys on the keyboard. Doesn't care what kind of keyboard it is. Look at the actual code.

    Note: Icade Works on the mac as a keyboard when paired as a bluetooth keyboard when you run a test run in the GS dev app. Tho my implementation still needed tweaking...
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    chumsize said:
    Wish I had seen this before I bought one of the dumb things... Looks like GS runtime blocks ALL key entry. Can't even use ipad (direct connect) keyboard for keypress events.

    And John - I hate to disappoint you, but there is absolutely no Bluetooth in the core SDK implementation. All it does is observe the keys on the keyboard. Doesn't care what kind of keyboard it is. Look at the actual code.

    Note: Icade Works on the mac as a keyboard when paired as a bluetooth keyboard when you run a test run in the GS dev app. Tho my implementation still needed tweaking...

    Hey there,
    this is the 2nd thread you bumped on the same thing. One is enough.

    And also i hate to disappoint you, but wherever your getting your info from is wrong.The iCade communicates through Bluetooth wireless technology, using a specific key map and protocol to talk with the applications.

    http://www.thinkgeek.com/files/iCADE/iCade_Dev_Resource_v1_3.pdf

    Im gonna close this thread. There is another icade thread above this that seems to be active now, you can post about icade there.
This discussion has been closed.