iusk
i use the middle button mouse for switch 100 to 50 , but i want  change the button because i use the middle button of mouse in game , but i tried change and didnt work , can someone help me please

i tried put other buttons like 8 of numpad or mouse 5 , but didnt work


i want change for the button \ or something or other button


heres the code :


; HiAlgo SWITCH Version 2.0    02/18/2015
;
; ***************************************************************************
; **                                                                       **
; **      To reload the settings during the game press Shift-Backspace     **
; **                                                                       **
; ***************************************************************************
; **                                                                       **
; ** Exception: ALLOW_VSYNC, REDUCE_SHADOW_MAPS and MAX_PRERENDERED_FRAMES **
; **                   require game restart                                **
; **                                                                       **
; ***************************************************************************
 
[KEYBOARD]
 
TOGGLE_HIALGO            = F10
TOGGLE_RESOLUTION_KEY    = 04  ; 04 is the middle mouse button. See below about how to specify any button or key.
 
[SETTINGS]
 
HIALGO_LOGO_OPACITY      = 50
BEEP_WHEN_TOGGLE_HIALGO  = true
 
[ENGINE]
 
ALLOW_VSYNC             = false ; ***Requires game restart
MAX_PRERENDERED_FRAMES  = 1     ; ***Requires game restart
REDUCE_SHADOW_MAPS      = false ; ***Requires game restart
KEEP_FULL_HUD_RES       = true  ;  false
SHOW_FPS  = true
 
; HOW TO SPECIFY KEYBOARD KEYS AND MOUSE BUTTONS
;
; Capital A-Z            ==> a...z keys
; 0..9                   ==> 0..9 keys
; F1-F24                 ==> function keys
; UP, DOWN, LEFT, RIGHT  ==> arrow keys
;
; ALT, CAPSLOCK, BCKSPC, DEL, END, ENTER, ESC, HOME, INSERT,
; NUMLOCK, PAUSE, PGUP, PGDN, PRTSC, SCRLLOCK, SHIFT, SPACE, TAB
;
; Mouse:
; 01                    ==> Left button
; 02                    ==> Right button
; 04                    ==> Middle button (if available)
; 05                    ==> 1st extra button (if available)
; 06                    ==> 2nd extra button (if available)
;
; You can also use numeric key codes. Some codes are same on all computers (for example, code
; for key 'B' is always 66), some may be different (for example, code for key '<' on my computer
; is 188 but on your it may be different). You can see key codes that are the same here:
; http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
; To check key codes on your computer, use some free utility like KeyCodes3.exe from
; http://www.delphiforfun.org/programs/utilities/KeyCodes.htm.
;
; So, these two lines are equivalent:
;
; TOGGLE_RESOLUTION_KEY =   B
; TOGGLE_RESOLUTION_KEY = 066
;
; This line will work for me (if I want to use '<' for toggle)
;
; TOGGLE_RESOLUTION_KEY = 188
;
; and this line is incorrect
;
; TOGGLE_RESOLUTION_KEY =   <
   
[FLAGS]
 
PASSTHROUGH = false
FLAG_7 = 1
Reply
siskin
Next time use a quote or code tag around it.

And you pasted your own answer.

Here i'll repeat (copy/paste from your post):


TOGGLE_RESOLUTION_KEY    = 04  ; 04 is the middle mouse button. See below about how to specify any button or key.
; HOW TO SPECIFY KEYBOARD KEYS AND MOUSE BUTTONS
;
; Capital A-Z            ==> a...z keys
; 0..9                   ==> 0..9 keys
; F1-F24                 ==> function keys
; UP, DOWN, LEFT, RIGHT  ==> arrow keys
;
; ALT, CAPSLOCK, BCKSPC, DEL, END, ENTER, ESC, HOME, INSERT,
; NUMLOCK, PAUSE, PGUP, PGDN, PRTSC, SCRLLOCK, SHIFT, SPACE, TAB
;
; Mouse:
; 01                    ==> Left button
; 02                    ==> Right button
; 04                    ==> Middle button (if available)
; 05                    ==> 1st extra button (if available)
; 06                    ==> 2nd extra button (if available)
;
; You can also use numeric key codes. Some codes are same on all computers (for example, code 
; for key 'B' is always 66), some may be different (for example, code for key '<' on my computer 
; is 188 but on your it may be different). You can see key codes that are the same here:
; http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
; To check key codes on your computer, use some free utility like KeyCodes3.exe from
; http://www.delphiforfun.org/programs/utilities/KeyCodes.htm.
;
; So, these two lines are equivalent:
;
; TOGGLE_RESOLUTION_KEY =   B
; TOGGLE_RESOLUTION_KEY = 066
;
; This line will work for me (if I want to use '<' for toggle)
;
; TOGGLE_RESOLUTION_KEY = 188
;
; and this line is incorrect
;
; TOGGLE_RESOLUTION_KEY =   <
Reply
QuiteReluctant
iusk wrote:
I want to change middle button mouse for switch 100 to 50 ...
i tried put other buttons like 8 of numpad or mouse 5 , but it didn't work


What do you mean 'mouse 5'? Does you mouse have extra buttons (in addition to left, right and middle)? If yes, try
TOGGLE_RESOLUTION_KEY = 05
or
TOGGLE_RESOLUTION_KEY = 06

for mouse button X1 or X2.

For Numeric keypad 8 key try (104 is 68 hexadecimal) 
TOGGLE_RESOLUTION_KEY = 104
Reply
Reply