Permalink
Browse files

Adding a readme to the Gamepad sample.

  • Loading branch information...
1 parent 2217b83 commit b019f653b7654aa068e1f3b395805e868f2ab1b3 @ablake ablake committed Dec 6, 2012
Showing with 40 additions and 0 deletions.
  1. +40 −0 Gamepad/readme.txt
View
@@ -0,0 +1,40 @@
+Gamepad - Handle and configure game controller events
+
+========================================================================
+Sample Description:
+
+The Gamepad sample is an application that demonstrates how to handle
+gamepad and joystick events. It can handle two connected game controllers
+at once.
+
+When an HID game controller is connected to the device, a collection of
+buttons and analog sticks representing the controller will be drawn.
+This "virtual" gamepad will react to input events from the controller.
+Tapping a virtual button on the screen, then pressing a physical button
+on the gamepad, allows the buttons to be re-assigned -- much like a game
+would allow players to change how it is controlled.
+
+Feature summary:
+- Discovery of gamepad and joystick devices which are already connnected.
+- Handling of controller connect and disconnect events.
+- Handling of controller input events.
+- Configuration of controller buttons.
+
+========================================================================
+Requirements:
+
+ - BlackBerry� 10 Native SDK
+ - One of the following:
+ - BlackBerry� 10 device
+ - BlackBerry� 10 simulator
+
+========================================================================
+Importing a project into the Native SDK:
+
+ 1. From the the Sample apps page, download and extract the sample application.
+ 2. Launch the Native SDK.
+ 3. On the File menu, click Import.
+ 4. Expand General, and select Existing Projects into Workspace. Click Next.
+ 5. Browse to the location where you extracted the sample app, and click OK.
+ The sample project should display in the the Projects section.
+ 6. Click Finish to import the project into your workspace.

0 comments on commit b019f65

Please sign in to comment.