Skip to content

Instantly share code, notes, and snippets.

View gilillo32's full-sized avatar

Iñigo Gil gilillo32

View GitHub Profile
@luccamendonca
luccamendonca / .Xmodmap
Created August 23, 2020 15:54
Xmodmap config file made to be used with the Motospeed CK62 keyboard, using CAPS LOCK as a MODE_SWITCH key. Based on https://gist.github.com/eduardomartines/371b790d1c102bccca6db9a25ad2b464
! Custom keycode mappings for the Motospeed ck62 keyboard
!
! How xmodmap works
!
! keycode X = A B C D
! X -> the keycode number. We can use `xev` to get it
!
! Now A-D represents the behaviors the keycode will have when
! A -> Only the key is pressed
! B -> The key is pressed with SHIFT
@eduardomartines
eduardomartines / motospeed_ck62.ahk
Last active April 11, 2023 00:41
Motospeed CK62 - Autohotkey Script
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetCapsLockState, AlwaysOff
CapsLock & ,:: Send {Del}
CapsLock & .:: Send {End}
CapsLock & k:: Send {Ins}