-- inputs_viewer.lua -- function inputs_viewer_init(e) end function inputs_viewer_main(e) --------------------------- INPUT EVENTS ----------------------------------------- Panel(69,7,88,75) TextColor(70,10,7,"KEY EVENTS ",127,127,127) TextColor(70,13,7,"InKey = "..(g_InKey),255,255,255) TextColor(70,16,7,"Scancode = "..(g_Scancode),255,255,255) TextColor(70,19,7,"Key E = "..(g_KeyPressE),255,255,255) TextColor(70,22,7,"Key Q = "..(g_KeyPressQ),255,255,255) TextColor(70,25,7,"Key W = "..(g_KeyPressW),255,255,255) TextColor(70,28,7,"Key A = "..(g_KeyPressA),255,255,255) TextColor(70,31,7,"Key S = "..(g_KeyPressS),255,255,255) TextColor(70,34,7,"Key D = "..(g_KeyPressD),255,255,255) TextColor(70,37,7,"Key R = "..(g_KeyPressR),255,255,255) TextColor(70,40,7,"Key F = "..(g_KeyPressF),255,255,255) TextColor(70,43,7,"Key C = "..(g_KeyPressC),255,255,255) TextColor(70,46,7,"Key J = "..(g_KeyPressJ),255,255,255) TextColor(70,49,7,"SPACE = "..(g_KeyPressSPACE),255,255,255) TextColor(70,52,7,"SHIFT = "..(g_KeyPressSHIFT),255,255,255) TextColor(70,55,7,"MOUSE EVENTS ",127,127,127) TextColor(70,58,7,"Mouse X = "..(g_MouseX),255,255,255) TextColor(70,61,7,"Mouse Y = "..(g_MouseY),255,255,255) TextColor(70,64,7,"Mouse Wheel = "..(g_MouseWheel),255,255,255) TextColor(70,67,7,"Mouse Click = "..(g_MouseClick),255,255,255) TextColor(70,70,7,"Mouse Control = "..(g_MouseClickControl),255,255,255) mappablekeys(e) end function mappablekeys(e) -- All Remappable in-game keys Panel(9,7,28,75) TextColor(10,10,7,"REMAPPED EVENTS ",127,127,127) TextColor(10,13,7,"Key E = "..(g_PlrKeyE),255,255,255) TextColor(10,16,7,"Key Q = "..(g_PlrKeyQ),255,255,255) TextColor(10,19,7,"Key W = "..(g_PlrKeyW),255,255,255) TextColor(10,22,7,"Key A = "..(g_PlrKeyA),255,255,255) TextColor(10,25,7,"Key S = "..(g_PlrKeyS),255,255,255) TextColor(10,28,7,"Key D = "..(g_PlrKeyD),255,255,255) TextColor(10,31,7,"Key R = "..(g_PlrKeyR),255,255,255) TextColor(10,34,7,"Key F = "..(g_PlrKeyF),255,255,255) TextColor(10,37,7,"Key C = "..(g_PlrKeyC),255,255,255) TextColor(10,40,7,"Key J = "..(g_PlrKeyJ),255,255,255) TextColor(10,43,7,"Key Z = "..(g_PlrKeyZ),255,255,255) TextColor(10,46,7,"RETURN = "..(g_PlrKeyRETURN),255,255,255) TextColor(10,49,7,"SPACE = "..(g_PlrKeySPACE),255,255,255) TextColor(10,52,7,"SHIFT = "..(g_PlrKeySHIFT),255,255,255) TextColor(10,55,7,"SHIFT = "..(g_PlrKeySHIFT2),255,255,255) end --[[ setup.ini keyUP = 17 keyDOWN = 31 keyLEFT = 30 keyRIGHT = 32 keyJUMP = 57 keyCROUCH = 46 keyENTER = 28 keyRELOAD = 19 keyPEEKLEFT = 16 keyPEEKRIGHT = 18 keyRUN = 42 switchtoalt = 47 melee key = 56 zoomholdbreath = 16 ]]