DIK KeyCodes – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

What about codes for joy/mouse? Are they also from DirectX or game made it up? Here are OFP codes:

Stringtable English Dec Hex
STR_INPUT_DEVICE_MOUSE_0 Prim. Mouse Btn. 65536 10000
STR_INPUT_DEVICE_MOUSE_1 Sec. Mouse Btn. 65537 10001
STR_INPUT_DEVICE_MOUSE_2 Middle Mouse Btn. 65538 10002
STR_INPUT_DEVICE_MOUSE_3 Mouse Btn. #4 65539 10003
STR_INPUT_DEVICE_MOUSE_4 Mouse Btn. #5 65540 10004
STR_INPUT_DEVICE_MOUSE_5 Mouse Btn. #6 65541 10005
STR_INPUT_DEVICE_MOUSE_6 Mouse Btn. #7 65542 10006
STR_INPUT_DEVICE_MOUSE_7 Mouse Btn. #8 65543 10007
STR_INPUT_DEVICE_STICK_0 Stick Btn. #1 131072 20000
STR_INPUT_DEVICE_STICK_1 Stick Btn. #2 131073 20001
STR_INPUT_DEVICE_STICK_2 Stick Btn. #3 131074 20002
STR_INPUT_DEVICE_STICK_3 Stick Btn. #4 131075 20003
STR_INPUT_DEVICE_STICK_4 Stick Btn. #5 131076 20004
STR_INPUT_DEVICE_STICK_5 Stick Btn. #6 131077 20005
STR_INPUT_DEVICE_STICK_6 Stick Btn. #7 131078 20006
STR_INPUT_DEVICE_STICK_7 Stick Btn. #8 131079 20007
STR_INPUT_DEVICE_STICK_AXIS_X Stick X-Axis 196608 30000
STR_INPUT_DEVICE_STICK_AXIS_Y Stick Y-Axis 196609 30001
STR_INPUT_DEVICE_STICK_AXIS_Z Stick Z-Axis 196610 30002
STR_INPUT_DEVICE_STICK_ROT_X Stick X-Rotate 196611 30003
STR_INPUT_DEVICE_STICK_ROT_Y Stick Y-Rotate 196612 30004
STR_INPUT_DEVICE_STICK_ROT_Z Stick Z-Rotate 196613 30005
STR_INPUT_DEVICE_STICK_SLIDER_1 Stick Slider 1 196614 30006
STR_INPUT_DEVICE_STICK_SLIDER_2 Stick Slider 2 196615 30007
STR_INPUT_DEVICE_MOUSE_AXIS_X Mouse X-Axis ? ?
STR_INPUT_DEVICE_MOUSE_AXIS_Y Mouse Y-Axis ? ?
STR_INPUT_DEVICE_MOUSE_AXIS_Z Mouse Wheel ? ?
STR_INPUT_DEVICE_POV_N Pov 0 deg 262144 40000
STR_INPUT_DEVICE_POV_NE Pov 45 deg 262145 40001
STR_INPUT_DEVICE_POV_E Pov 90 deg 262146 40002
STR_INPUT_DEVICE_POV_SE Pov 125 deg 262147 40003
STR_INPUT_DEVICE_POV_S Pov 180 deg 262148 40004
STR_INPUT_DEVICE_POV_SW Pov 225 deg 262149 40005
STR_INPUT_DEVICE_POV_W Pov 270 deg 262150 40006
STR_INPUT_DEVICE_POV_NW Pov 315 deg 262151 40007

I couldn't find those three codes for the mouse. Does anyone know if they are there or were they removed? --Faguss 16:56, 13 September 2013 (CEST)