I'm trying to add haptic effects to my Android game.
al_install_haptic() always returns zero, and so I can't go any further :-(
I have already (successfully) called al_create_display(), and I have added <uses-permission android:name="android.permission.VIBRATE" /> to my manifest.
Have I missed anything?
Anyone have any ideas what might be causing this?
Follow up questions:
Should I expect the display, or the touch input to be haptic capable? (i.e. should I be using al_get_haptic_from_display() or al_get_haptic_from_touch_input()? )
I know I can check with al_is_display_haptic() & al_is_touch_input_haptic(), but all the touch input functions need a parameter of type ALLEGRO_TOUCH_INPUT, and I can't see where I get that from..... Any clues?