So, I am having a hard time getting iCade working. My basic understanding of how this process should work is that the iCade sends a keyboard key to the ios device as a string whenever you press a button/move the joystick. I thought that just setting a Global String to the iCade's sent string would work. The setup is like this:
+On Message Received
- Set Global String to GetMsg$(iOSBluetooth)
+ Gloabl String = "some_string"
- Do action
+ Global String <> ""
- Set Global String to ""
In the PC debugger, if I change the string manually, I see the desired action. But on device (ipad2 in my case) nothing is happening.
Any idea what I am missing?
Reg
EDIT: The iCade is definitely sending the correct strings because I can see the output in any text field on the device. I also put in an iOSMultiline Editbox and it receives input from the iCade (which sets the Global String and causes the desired action). So I can only guess that the On Message Received condition is the incorrect one to use here. Anyone have any advice on what I am doing wrong?