Go Back   Steam Users' Forums > Steam Game Discussions > D - G > Dead Rising 2

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-27-2010, 03:43 AM   #1
DIENER
 
 
 
Join Date: Mar 2010
Reputation: 776
Posts: 3,277
PC key mapping possible

I checked around the files in Dead Rising 2 folder and found 3 text files that seem to contain all key settings for the PC.

Location: "dead rising 2\data\controls"
I will post the whole code from them.

"keymap.txt" This hold everything about Keyboard bindings.
Code:
COMMAND_FRONTEND_PAUSEMENU(                        KEY_TAB,                PRESSED,        KEY_LSHIFT,        HELD,            AND)
COMMAND_PAUSEMENU(                                KEY_TAB,                PRESSED,        KEY_LSHIFT,        HELD,             AND)    
COMMAND_OLD_PAUSEMENU(                            KEY_F1,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PAUSEMENU_UP(                            KEY_W,                    PRESSED,        KEY_UP,            PRESSED,        OR)
COMMAND_PAUSEMENU_DOWN(                            KEY_S,                    PRESSED,        KEY_DOWN,        PRESSED,        OR) 
COMMAND_PAUSEMENU_LEFT(                            KEY_A,                    PRESSED,        KEY_LEFT,        PRESSED,        OR)
COMMAND_PAUSEMENU_RIGHT(                        KEY_D,                    PRESSED,        KEY_RIGHT,        PRESSED,        OR) 
COMMAND_PAUSEMENU_SELECT(                        KEY_ENTER,                PRESSED,        NONE,            NONE,            NONE) 
COMMAND_PAUSEMENU_BACK(                            KEY_ESC,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_PAUSEMENU_FAST(                            KEY_LSHIFT,                HELD,            NONE,            NONE,            NONE)
COMMAND_PAUSEMENU_SLOW(                            KEY_LCONTROL,            HELD,            NONE,            NONE,            NONE)

COMMAND_OLD_FRONTEND_PAUSEMENU(                    KEY_F1,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_FRONTEND_UP(                            KEY_UP,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_DOWN(                            KEY_DOWN,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_LEFT(                            KEY_LEFT,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_RIGHT(                            KEY_RIGHT,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_A_BUTTON(                        KEY_ENTER,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_A_BUTTON_RELEASE(                KEY_ENTER,                RELEASED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_B_BUTTON(                        KEY_ESC,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_X_BUTTON(                        KEY_X,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_Y_BUTTON(                        KEY_C,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_L1_BUTTON(                        KEY_1,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_R1_BUTTON(                        KEY_2,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_L2_BUTTON(                        KEY_3,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_R2_BUTTON(                        KEY_4,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_START_BUTTON(                    KEY_ENTER,                PRESSED,        KEY_ESC,        PRESSED,        OR)

COMMAND_PLAYER_DISMISS_DIALOG(                    KEY_Q,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_FRONTEND_RIGHT_HELD(                    KEY_C,                    HELD,            NONE,            NONE,            NONE) 

COMMAND_HIGHROLLERS_POKER_QUIT(                    KEY_Q,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_HIGHROLLERS_POKER_TIPS(                    KEY_H,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_HIGHROLLERS_POKER_PAUSE(                KEY_ESC,                PRESSED,        NONE,            NONE,            NONE)

COMMAND_FRONTEND_MAP_L2(                        KEY_4,                    ACCELREPEAT,    NONE,            NONE,            NONE)
COMMAND_FRONTEND_MAP_R2(                        KEY_3,                    ACCELREPEAT,    NONE,            NONE,            NONE)
COMMAND_FRONTEND_MAP_L1(                        KEY_EQUALS,                HELD,    NONE,            NONE,            NONE)
COMMAND_FRONTEND_MAP_R1(                        KEY_MINUS,                HELD,    NONE,            NONE,            NONE)


COMMAND_FRONTEND_GENACTION1(                    KEY_Z,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_GENACTION2(                    KEY_SPACE,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_FRONTEND_GENACTION3(                    KEY_M,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_PLAYER_MINIGAME_OK(                        KEY_SPACE,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_MINIGAME_EXIT(                    KEY_E,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_MINIGAME_A(                        KEY_S,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_MINIGAME_B(                        KEY_D,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_MINIGAME_X(                        KEY_A,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_MINIGAME_Y(                        KEY_W,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_AI_VIEW_MAP(                            KEY_TAB,                PRESSED,        NONE,            NONE,            NONE)

COMMAND_SKIP_SCRIPT(                            KEY_ENTER,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_SKIP_CINEMATIC(                            KEY_ESC,                PRESSED,        KEY_SPACE,        PRESSED,        OR)
    
COMMAND_AI_PAUSE_GAME(                            KEY_ESC,                PRESSED,        NONE,            NONE,            NONE)

COMMAND_AI_INTERACT_WITH_PHONE(                    KEY_C,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_AI_INTERACT_WITH_WATCH(                    KEY_T,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_PLAYER_X(                                LEFT_THUMBSTICK_X,         NONE,            NONE,            NONE,            NONE)
COMMAND_PLAYER_Y(                                LEFT_THUMBSTICK_Y,        NONE,            NONE,            NONE,            NONE)
COMMAND_PLAYER_RUN_DIR(                            LEFT_THUMBSTICK_DIR,    NONE,            NONE,            NONE,            NONE)
COMMAND_PLAYER_RUN_MAG(                            LEFT_THUMBSTICK_MAG,    NONE,            NONE,            NONE,            NONE)
COMMAND_KBOARD_EMULATE_LTHUMB_UP(                KEY_W,                    HELD,            NONE,            NONE,            NONE)
COMMAND_KBOARD_EMULATE_LTHUMB_DOWN(                KEY_S,                    HELD,            NONE,            NONE,            NONE)
COMMAND_KBOARD_EMULATE_LTHUMB_LEFT(                KEY_A,                    HELD,            NONE,            NONE,            NONE)
COMMAND_KBOARD_EMULATE_LTHUMB_RIGHT(            KEY_D,                    HELD,            NONE,            NONE,            NONE)
    
COMMAND_PLAYER_JUMP(                            KEY_SPACE,                PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_CROUCH(                            KEY_C,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_DODGE(                            KEY_LCONTROL,            PRESSED,        NONE,            NONE,            NONE)

COMMAND_PC_F2(                                    KEY_F2,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_PLAYER_BUTTON_PRESS(                    KEY_E,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_OBJECT_PICKUP(                    KEY_E,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_USE(                                KEY_E,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_PLAYER_ITEMS_DROP(                        KEY_DOWN,                PRESSED,        KEY_X,            PRESSED,        OR)
COMMAND_PLAYER_ITEMS_HIDE(                        KEY_UP,                    PRESSED,        KEY_2,            PRESSED,        OR)

COMMAND_PLAYER_CALLOUT(                            KEY_Q,                    PRESSED,        NONE,            NONE,            NONE)

COMMAND_AI_VEHICLE_ENTER_EXIT(                    KEY_E,                    PRESSED,        NONE,            NONE,            NONE)
COMMAND_AI_VEHICLE_STEERING_X(                    LEFT_THUMBSTICK_X,        NONE,            NONE,            NONE,            NONE)
COMMAND_AI_VEHICLE_STEERING_Y(                    LEFT_THUMBSTICK_Y,        NONE,            NONE,            NONE,            NONE)
COMMAND_AI_VEHICLE_ACCELERATE(                    KEY_W,                    HELD,            NONE,            NONE,            NONE)
COMMAND_AI_VEHICLE_ACCELERATE_TRIGGER(            KEY_W,                    HELD,            NONE,            NONE,            NONE)
COMMAND_AI_VEHICLE_BRAKE(                        KEY_S,                    HELD,            KEY_SPACE,        PRESSED,        OR)
COMMAND_AI_VEHICLE_BRAKE_TRIGGER(                KEY_S,                    HELD,            KEY_SPACE,        PRESSED,        OR)
"mousemap.txt" This hold everything about Mouse bindings.
Code:
COMMAND_FRONTEND_ML_BUTTON(                        BUTTON_1,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_FRONTEND_RML_BUTTON(                    BUTTON_1,            RELEASED,        NONE,        NONE,        NONE)
COMMAND_FRONTEND_MR_BUTTON(                        BUTTON_2,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_FRONTEND_MW_UP(                            MOUSE_WHEEL_UP,        HELD,            NONE,        NONE,        NONE)
COMMAND_FRONTEND_MW_DOWN(                        MOUSE_WHEEL_DOWN,    HELD,            NONE,        NONE,        NONE)

COMMAND_USER_CAM_LEFTRIGHT(                        MOUSE_RAW_X,        NONE,            NONE,        NONE,        NONE)
COMMAND_USER_CAM_UPDOWN(                        MOUSE_RAW_Y,        NONE,            NONE,        NONE,        NONE)
COMMAND_USER_CAM_WEAPONAIM_LEFTRIGHT(            MOUSE_RAW_X,        NONE,            NONE,        NONE,        NONE)
COMMAND_USER_CAM_WEAPONAIM_UPDOWN(                MOUSE_RAW_Y,        NONE,            NONE,        NONE,        NONE)

COMMAND_DEBUGCAMERA_MOVEFORWARDBACK(            KEY_W,                NONE,            NONE,        NONE,        NONE) 
COMMAND_DEBUGCAMERA_PITCHUPDOWN(                RIGHT_THUMBSTICK_Y,    NONE,            NONE,        NONE,        NONE) 
COMMAND_DEBUGCAMERA_HEADLEFTRIGHT(                RIGHT_THUMBSTICK_X,    NONE,            NONE,        NONE,        NONE) 

COMMAND_AI_MOVE_PENDULUM_X(                        RIGHT_THUMBSTICK_X,    NONE,            NONE,        NONE,    NONE)
COMMAND_AI_MOVE_PENDULUM_Y(                        RIGHT_THUMBSTICK_Y,    NONE,            NONE,        NONE,    NONE)

COMMAND_PLAYER_MAIN_ITEMS_CYCLE_LEFT(            MOUSE_WHEEL_DOWN,    HELD,            KEY_1,        PRESSED,    OR)
COMMAND_PLAYER_MAIN_ITEMS_CYCLE_RIGHT(            MOUSE_WHEEL_UP,        HELD,            KEY_3,        PRESSED,    OR)
COMMAND_PLAYER_SECONDARY_ITEMS_CYCLE_LEFT(        MOUSE_WHEEL_DOWN,    HELD,            KEY_1,        PRESSED,    OR)
COMMAND_PLAYER_SECONDARY_ITEMS_CYCLE_RIGHT(        MOUSE_WHEEL_UP,        HELD,            KEY_3,        PRESSED,    OR)

COMMAND_PLAYER_ZOOM_IN(                            MOUSE_WHEEL_UP,        HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_ZOOM_OUT(                        MOUSE_WHEEL_DOWN,    HELD,            NONE,        NONE,        NONE)

COMMAND_USER_CAM_RESET(                            BUTTON_3,            PRESSED,        NONE,        NONE,        NONE)

COMMAND_PLAYER_FIRE_WEAPON(                        BUTTON_1,            PRESSED,            NONE,    NONE,    NONE)
COMMAND_PLAYER_RAPID_FIRE(                        BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_QUICK_ATTACK(                    BUTTON_1,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HEAVY_ATTACK(                    BUTTON_2,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_CHARGE(                            BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_CHARGEATTACK_SHORT(                BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_CHARGEATTACK_LONG(                BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_RAPID_FIRE_RT(                    BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_RAPID_FIRE_LT(                    BUTTON_2,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_TOGGLE_ALTERNATE_WEAPON_VIEW(    BUTTON_2,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_THROW(                            BUTTON_2,            HELD,            BUTTON_1,    PRESSED,    AND)
COMMAND_PLAYER_THROW_RT(                        BUTTON_2,            HELD,            BUTTON_1,    PRESSED,    AND)
COMMAND_PLAYER_THROW_CHARGE(                    BUTTON_2,            HELD,            BUTTON_1,    PRESSED,    AND)
COMMAND_PLAYER_PRIME(                            BUTTON_1,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_RELEASE_PRIMED(                    BUTTON_1,            RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_QUICK_TIMED_RELEASE(                BUTTON_1,            QUICKTIMEDRELEASE, NONE,        NONE,        NONE)
COMMAND_PLAYER_SPRAY(                            BUTTON_1,            HELD,            NONE,        NONE,        NONE)

COMMAND_PLAYER_CALL_SURVIVOR_GOTO_POINT(        BUTTON_2,            HELD,            KEY_Q,        PRESSED,    AND)

COMMAND_PLAYER_HAND_TO_HAND_SHIFT(                KEY_LSHIFT,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_PUNCH_HELD(            KEY_Q,                HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_PUNCH_RELEASED(        KEY_Q,                RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_KICK(                KEY_LSHIFT,            HELD,            KEY_Q,        PRESSED,    AND)
COMMAND_PLAYER_HAND_TO_HAND_KICK_HELD(            KEY_LSHIFT,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_KICK_RELEASED(        KEY_LSHIFT,            RELEASED,        NONE,        NONE,        NONE)

COMMAND_PLAYER_HAND_TO_HAND_A_HELD(                KEY_SPACE,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_A_RELEASED(            KEY_SPACE,            RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_A_PRESSED(            KEY_SPACE,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_B_HELD(                KEY_E,                HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_B_RELEASED(            KEY_E,                RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_B_PRESSED(            KEY_E,                PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_X_HELD(                BUTTON_1,            HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_X_RELEASED(            BUTTON_1,            RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_X_PRESSED(            BUTTON_1,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_Y_HELD(                KEY_Q,                HELD,            NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_Y_RELEASED(            KEY_Q,                RELEASED,        NONE,        NONE,        NONE)
COMMAND_PLAYER_HAND_TO_HAND_Y_PRESSED(            KEY_Q,                PRESSED,        NONE,        NONE,        NONE)

COMMAND_AI_RIDEABLE_ON(                            BUTTON_1,            PRESSED,        NONE,        NONE,        NONE)
COMMAND_AI_RIDEABLE_OFF(                        KEY_E,                PRESSED,        NONE,        NONE,        NONE)
COMMAND_AI_RIDEABLE_TURN(                        LEFT_THUMBSTICK_X,    NONE,            NONE,        NONE,        NONE)
COMMAND_AI_RIDEABLE_BRAKE(                        KEY_S,                HELD,            NONE,        NONE,        NONE)
COMMAND_AI_RIDEABLE_PUMP(                        KEY_W,                HELD,            BUTTON_1,    HELD,        OR)
COMMAND_AI_RIDEABLE_JUMP(                        KEY_SPACE,            HELD,            NONE,        NONE,        NONE)

COMMAND_AI_PUSHABLE_TURN(                        LEFT_THUMBSTICK_X,    NONE,        NONE,                    NONE,    NONE)
COMMAND_AI_PUSHABLE_ACCELERATE(                    KEY_W,                HELD,        NONE,                    NONE,    NONE)
COMMAND_AI_PUSHABLE_REVERSE(                    KEY_S,                HELD,        NONE,                    NONE,    NONE)
COMMAND_AI_PUSHABLE_DUMP(                        BUTTON_1,            PRESSED,    NONE,                    NONE,    NONE)
COMMAND_AI_PUSHABLE_ALTERNATE_CHARGE(            BUTTON_1,            HELD,        NONE,                    NONE,    NONE)
COMMAND_AI_PUSHABLE_CHARGE(                        KEY_SPACE,            HELD,        NONE,                    NONE,    NONE)

COMMAND_PLAYER_PUSH_HAMSTER_BALL(                BUTTON_1,            PRESSED,    BUTTON_1,                HELD,    OR)

Last edited by DIENER: 09-27-2010 at 11:00 PM.
DIENER is offline  
Reply With Quote
 

Go Back   Steam Users' Forums > Steam Game Discussions > D - G > Dead Rising 2


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 12:07 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.