; ────────────────────────────────
; 마우스 버튼 리매핑
; 왼쪽 클릭 → S / 오른쪽 클릭 → R / 휠 클릭 → 원래 기능 복귀
; ────────────────────────────────
; 기본 상태: 리매핑 활성화됨
remapActive := true
; 왼쪽 버튼 → S
LButton::
if (remapActive)
Send, s
else
Send, {LButton}
return
; 오른쪽 버튼 → R
RButton::
if (remapActive)
Send, r
else
Send, {RButton}
return
; 휠 버튼 클릭 시 리매핑 토글 (활성 ↔ 비활성)
MButton::
remapActive := !remapActive
if (remapActive)
Tooltip, ? 리매핑 활성화됨 (L=S, R=R)
else
Tooltip, ? 원래 클릭 복귀됨
SetTimer, RemoveTooltip, -1000
return
RemoveTooltip:
Tooltip
return
댓글 0