|
发表于 2006-9-4 22:25:09
|
显示全部楼层
不用俄,打开GamePadHelper.cs,然后把第一行#define USE_KEYBOARD前面的注释标记//去掉就行老。
可以用WASD控制额,顺便说一下,真的米玩头5555
键位:
- keyMapping.Add(GamePadKeys.Start, Keys.Home);
- keyMapping.Add(GamePadKeys.Back, Keys.End);
- keyMapping.Add(GamePadKeys.A, Keys.A);
- keyMapping.Add(GamePadKeys.B, Keys.B);
- keyMapping.Add(GamePadKeys.X, Keys.X);
- keyMapping.Add(GamePadKeys.Y, Keys.Y);
- keyMapping.Add(GamePadKeys.Up, Keys.Up);
- keyMapping.Add(GamePadKeys.Down, Keys.Down);
- keyMapping.Add(GamePadKeys.Left, Keys.Left);
- keyMapping.Add(GamePadKeys.Right, Keys.Right);
- keyMapping.Add(GamePadKeys.LeftTrigger, Keys.LShiftKey);
- keyMapping.Add(GamePadKeys.RightTrigger, Keys.RShiftKey);
-
- keyMapping.Add(GamePadKeys.ThumbstickLeftXMin, Keys.S);
- keyMapping.Add(GamePadKeys.ThumbstickLeftXMax, Keys.D);
- keyMapping.Add(GamePadKeys.ThumbstickLeftYMin, Keys.X);
- keyMapping.Add(GamePadKeys.ThumbstickLeftYMax, Keys.W);
- keyMapping.Add(GamePadKeys.ThumbstickRightXMin, Keys.J);
- keyMapping.Add(GamePadKeys.ThumbstickRightXMax, Keys.L);
- keyMapping.Add(GamePadKeys.ThumbstickRightYMin, Keys.M);
- keyMapping.Add(GamePadKeys.ThumbstickRightYMax, Keys.I);
复制代码 |
|