|
QSDK 1.1 Documentation |
00001 /*- 00002 * Copyright (c) 2000,2001 Qube Software, Ltd. 00003 * All rights reserved. 00004 * 00005 * $Qube: Q/input/include/input_xbox.h,v 1.4 2003/06/26 14:34:45 peterj Exp $ 00006 */ 00007 00008 #ifndef __input_xbox_h__ 00009 #define __input_xbox_h__ 00010 00011 #ifndef INPUT_BEGIN 00012 #define INPUT_BEGIN namespace Input { 00013 #define INPUT_END } 00014 #endif 00015 00016 /* 00017 * Dependancies. 00018 */ 00019 #ifndef QInput_version 00020 #error "#include <Q/input.h> required before <Q/input_xbox.h>" 00021 #endif 00022 00023 INPUT_BEGIN 00024 00036 struct XBoxController: public Controller, public Controller2 00037 { 00038 static Com::UUID CLSID; // 53ca232e-f5c2-443a-b2fd-4d8acc586eb9 00039 00040 /* 00041 * XBox controller variants. 00042 */ 00043 static Com::UUID Gamepad; // 082b4b3c-92ff-4dea-bd30-fe1f968f0eab 00044 static Com::UUID GamepadAlt; // fc0343af-cf5d-4090-a2d5-9821da41428a 00045 static Com::UUID Wheel; // b6d91831-88f5-46b5-9c9f-bd40b4311e5b 00046 static Com::UUID ArcadeStick; // bb698ec0-4e62-4d25-b5c1-5a6b042337cc 00047 static Com::UUID DigitalArcadeStick; // ac26f80c-d971-4ba1-a864-8ef8747baf99 00048 static Com::UUID FlightStick; // ae25300a-5b1d-4db1-be66-29c13fe7fb5c 00049 static Com::UUID Snowboard; // 3958e49c-caf4-4e37-9ea0-1fe2e92d031b 00050 00051 /* 00052 * Values supported by XBox controller. 00053 */ 00054 static Com::UUID AButton; // 70de0618-28d3-4b52-b507-2ec711322e64 00055 static Com::UUID BButton; // 4c44fcea-64e1-4718-b0d1-1bed815d03b0 00056 static Com::UUID XButton; // 27c3f2b2-8d62-40fb-b468-6ae967b2f660 00057 static Com::UUID YButton; // 12fb643d-fa75-4081-9e73-2736cdcce936 00058 static Com::UUID WhiteButton; // eebeaa8c-8b3b-4a18-9994-49b18eaa42aa 00059 static Com::UUID BlackButton; // ac8eb312-e204-4ec4-ba04-ce52164b2ccd 00060 static Com::UUID UpButton; // 717b27a6-2906-4212-9f34-0cc92b56783c 00061 static Com::UUID DownButton; // a8df0c59-7f54-4d19-b19b-a4f67aa1c1a8 00062 static Com::UUID LeftButton; // 70b6373e-250f-47e3-bad2-2fa5822b117a 00063 static Com::UUID RightButton; // 04f0457e-97b7-49fc-8278-fcf9545785d6 00064 static Com::UUID StartButton; // 4abac6f0-c79c-457a-8275-d6ce48e37f3a 00065 static Com::UUID BackButton; // f81b6e8d-fd04-4338-be9e-5bf770d5c1fc 00066 static Com::UUID LeftThumbButton; // b505283a-48cb-42b8-8514-59fd53e34493 00067 static Com::UUID RightThumbButton; // 6d26ad3f-62c9-46e5-a27b-b65197d455bb 00068 static Com::UUID LeftThumb; // 8a3fd76f-592e-411b-a218-5761651aa8ff 00069 static Com::UUID RightThumb; // 052e09e1-5fa2-4990-8f60-34d6a3581fa9 00070 static Com::UUID LeftTrigger; // 6c897389-71c2-4bfd-82bc-67a76e304b3e 00071 static Com::UUID RightTrigger; // d19b77c5-143b-477c-aa2b-8ee6d2b92f42 00072 }; 00073 00074 INPUT_END 00075 00076 #endif // __input_xbox_h__ 00077 00078 // Local Variables: 00079 // mode: c++ 00080 // End:
|
|
|
Qube Software Limited © 2000-2004
|
|