Pending in the BlackBerry 10 roadmap was a “Gamepad API”, which left developers wondering what that could open up besides the obvious. In a BlackBerry DevBlog post, they have confirmed the following gamepads can be used if developers add the Gamepad API for BlackBerry 10:
- What gamepads are supported right now?
- If new gamepads come out, do I have to update my game to support them?
- No, you don’t! When new controllers become available, we’ll update the mappings in a system update and your game will start receiving gamepad inputs from the new hardware. Because the Gamepad API is an abstraction above HID, and because we map each gamepad’s unique HID report format to the Gamepad API, you don’t need to write any code that’s specific to a single controller.
- Do users need to install anything to set up or configure their gamepads?
- No. The Gamepad API is integrated into the Screen library, the same library you are already using to handle touch, keyboard, and other input events. All users have to do is pair their device through the Bluetooth settings screen for it to start sending inputs to your game.
BlackBerry has even whipped up a tutorial on how to integrate the Gamepad API to games, found here. Check out some of the videos below showing the Gamepad API being put to use:
P.S. We’re hearing BlackBerry is even working on their own-built Gamepad. Keep an eye out for it here when it’s officially announced.