Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: native_client_sdk/src/examples/gamepad/gamepad.html

Issue 9148086: Add simple NaCl gamepad example (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: and in gamepad_module Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/examples/gamepad/gamepad.html
diff --git a/native_client_sdk/src/examples/gamepad/gamepad.html b/native_client_sdk/src/examples/gamepad/gamepad.html
new file mode 100644
index 0000000000000000000000000000000000000000..65c0fff1812b1ea95f1afd6bf2e919d973024a75
--- /dev/null
+++ b/native_client_sdk/src/examples/gamepad/gamepad.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <!--
+ Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+ -->
+ <head>
+ <title>Gamepad example</title>
+ </head>
+ <body id="bodyId">
+
+ <p> Attached gamepad values should appear, left to right, once they've been
+ interacted with. Buttons, esp triggers are analog (alpha). </p>
+
+ <embed
+ name="nacl_module"
+ id="gamepad"
+ width=800 height=200
+ src="gamepad.nmf"
+ type="application/x-nacl" />
+ </body>
+</html>
« no previous file with comments | « native_client_sdk/src/examples/gamepad/gamepad.cc ('k') | native_client_sdk/src/examples/gamepad/gamepad.nmf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698