; === 변수 초기화 ===

global remapActive := false


; === R키 눌렀을 때 동작 ===

r::

{

    if (remapActive)

        Send("r") ; 리매핑 켜져 있을 때

    else

        Send("{RButton}") ; 꺼져 있을 때

}


; === F1키로 리매핑 토글 ===

F1::

{

    remapActive := !remapActive

    if (remapActive) {

        ToolTip("리매핑 활성화됨 (L=S, R=R)")

    } else {

        ToolTip("원래 클릭 복귀됨")

    }

    SetTimer(RemoveToolTip, -1000)

}


; === 툴팁 제거 함수 ===

RemoveToolTip()

{

    ToolTip()

}