mausuHoldo & piusareLite: slight cleanup / title added

This commit is contained in:
Hane 2023-07-02 16:08:42 +02:00
commit 5707c7746e
4 changed files with 22 additions and 15 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.exe
temp*
*.lnk
build/

View file

@ -1,7 +1,7 @@
;;TODO: comprobar puntero en local ;;KBD D events stop execution, so _H it is.
;; ugly af lo de flagear para compartir un sincro sin sincro, bro. no creo que lo cambie xddd
;; Menu, Tray, Tip, Mouse On Keyboard
;;eveentos down del teclado no paraban de joder porque paraban el unico hilo, so _h it was, its threading time
#MaxThreadsPerHotkey 2 #MaxThreadsPerHotkey 2
#HotkeyInterval 10000 #HotkeyInterval 10000
#MaxHotkeysPerInterval 9999 #MaxHotkeysPerInterval 9999
@ -16,7 +16,7 @@ screenXExtraFactor := 1.02
screenYExtraFactor := 0.10 screenYExtraFactor := 0.10
;;DllCall("mouse_event", "UInt", 1, "UInt", (rightMov + lefMov) , "UInt", upMov + downMov ) ;;DllCall("mouse_event", "UInt", 1, "UInt", (rightMov + lefMov) , "UInt", upMov + downMov )
;;WINDOOOOOOOOOOOOOOOOOOOOOOOOOOOOOWS y ahk unaware del futuro de los escritorios ;;AHK unaware del futuro de los escritorios.
;;https://www.autohotkey.com/boards/viewtopic.php?t=97706 ;;https://www.autohotkey.com/boards/viewtopic.php?t=97706
DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr") DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr")
@ -102,7 +102,8 @@ RAlt & LAlt::
updateRate := Floor(updateRate / ticksPerSecond) updateRate := Floor(updateRate / ticksPerSecond)
currentTime := currentTime ;;/ 1.0 currentTime := currentTime ;;/ 1.0
baseTime := baseTime ;;/ 1.0 baseTime := baseTime ;;/ 1.0
;;This do be Ugly AF. Probably gonna stay this way.
obj := CriticalObject(A_Args[1]) obj := CriticalObject(A_Args[1])
lefMov := obj.lefMov lefMov := obj.lefMov
@ -157,8 +158,9 @@ h::
;;SendInput, {RCtrl Down} ;;SendInput, {RCtrl Down}
return return
;;tuckaway ;;Tuck away
;;targeting 1080p displays with taskbar on top. Should adapt to any single monitor setup. ;;TODO: comprobar puntero en local
;;Targeting 1080p displays with taskbar on top. Should adapt to any single monitor setup.
sc01A:: sc01A::
;;y:: ;;y::
;;DllCall("ShowCursor", "Int", slowDown ) ;;DllCall("ShowCursor", "Int", slowDown )

View file

@ -1,7 +1,8 @@
;;TODO: GAMER MODE (lctrl toggle) ;;Use on admin windows without admin rights:
;; alt+spacebar liandola ;;https://www.autohotkey.com/docs/v1/Program.htm#Installer_uiAccess
;; ;;https://www.autohotkey.com/board/topic/70449-enable-interaction-with-administrative-programs/
;;Use on admin windows without admin rights: https://www.autohotkey.com/docs/v1/Program.htm#Installer_uiAccess
Menu, Tray, Tip, Keyboard Remappings
#SingleInstance Force #SingleInstance Force
#MaxHotkeysPerInterval 9999 #MaxHotkeysPerInterval 9999
hotkeyLock := 0 hotkeyLock := 0
@ -25,7 +26,7 @@ sendCheckCapsLock(command, clCommand)
CapsLock::LControl CapsLock::LControl
RShift & LShift::CapsLock RShift & LShift::CapsLock
LShift & RShift::CapsLock LShift & RShift::CapsLock
LCtrl::AppsKey ;;LCtrl::AppsKey
;;*CapsLock::return ;;*CapsLock::return
return return

View file

@ -1,2 +1,2 @@
START /B "C:\Program Files\AutoHotkey\AutoHotkey.exe" "D:\Contenido\Capybara\Cositas\piusare\mausu.ahk" START /B /D "." MouseOnKeyboard.exe
START /B "C:\Program Files\AutoHotkey\AutoHotkey.exe" "D:\Contenido\Capybara\Cositas\piusare\piusareLite.ahk" START /B "." KeyboardRemappings.exe