Example #1
0
func cmd(event C.CGEventRef) {
	C.AddActionKey(_VK_CMD, event)
}
Example #2
0
func ctrl(event C.CGEventRef) {
	C.AddActionKey(_VK_CTRL, event)
}
Example #3
0
func alt(event C.CGEventRef) {
	C.AddActionKey(_VK_ALT, event)
}
Example #4
0
func shift(event C.CGEventRef) {
	C.AddActionKey(_VK_SHIFT, event)
}