All Projects → robotn → Gohook

robotn / Gohook

Licence: gpl-3.0
GoHook, Go global keyboard and mouse listener hook

Programming Languages

c
50402 projects - #5 most used programming language
go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gohook

KeyBoardTool
Keyboard key detection software realized by Qt(Qt实现的键盘按键检测软件)
Stars: ✭ 35 (-62.77%)
Mutual labels:  hook, keyboard
Neatinput
A .NET standard project which aims to make keyboard and mouse input monitoring easy on Windows and eventually Linux.
Stars: ✭ 89 (-5.32%)
Mutual labels:  hook, keyboard
Rbtray
A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
Stars: ✭ 365 (+288.3%)
Mutual labels:  hook, keyboard
Pyhooked
Pure Python hotkey hook, with thanks to pyHook and pyhk
Stars: ✭ 150 (+59.57%)
Mutual labels:  hook, keyboard
creviceapp
Multi purpose utility which supports gestures with mouse and keyboard.
Stars: ✭ 22 (-76.6%)
Mutual labels:  hook, keyboard
LowLevelInput.Net
A thread safe and event driven LowLevelMouse and LowLevelKeyboard Hook
Stars: ✭ 32 (-65.96%)
Mutual labels:  hook, keyboard
Silence
A simple, clean macro recorder written in C#. Windows 10 compatible.
Stars: ✭ 29 (-69.15%)
Mutual labels:  hook, keyboard
Ysf
YSF Server Functions
Stars: ✭ 77 (-18.09%)
Mutual labels:  hook
Audiokitsynthone
AudioKit Synth One: Open-Source iOS Synthesizer App
Stars: ✭ 1,258 (+1238.3%)
Mutual labels:  keyboard
Keynode
Interactive Keyboard Controller for Swift
Stars: ✭ 76 (-19.15%)
Mutual labels:  keyboard
Dynamicoc
深入理解 iOS 热修复原理
Stars: ✭ 76 (-19.15%)
Mutual labels:  hook
Jjexception
Protect the objective-c application(保护App不闪退)
Stars: ✭ 1,216 (+1193.62%)
Mutual labels:  hook
Delphihookutils
Delphi Hooking Library by Lsuper
Stars: ✭ 85 (-9.57%)
Mutual labels:  hook
Lipika Ime
Input Method Engine (IME) for Mac OS X with built-in support for all Indic Languages
Stars: ✭ 76 (-19.15%)
Mutual labels:  keyboard
Awesome Mechanical Keyboard
⌨️ A curated list of Open Source Mechanical Keyboard resources.
Stars: ✭ 1,294 (+1276.6%)
Mutual labels:  keyboard
Simple Keyboard
Javascript Virtual Keyboard - Customizable, responsive and lightweight
Stars: ✭ 1,275 (+1256.38%)
Mutual labels:  keyboard
Quickcut
QuickCut is a cross-platform keyboard manager that both facilitates key mapping and allows the configuration of global hotkeys triggering user defined actions.
Stars: ✭ 84 (-10.64%)
Mutual labels:  keyboard
Mouse2joystick custom cemu
An AutoHotkey Script to allow the use of Mouse and Keyboard control in CEMU. This uses vJoy and provides several additional features over regular keyboard control, like: the ability to control the camera with the mouse, toggle walking speed, in BotW use MouseWheel to change weapons, a separate Toggle key for ZL useful for locking onto a target in BotW.
Stars: ✭ 76 (-19.15%)
Mutual labels:  keyboard
Jp01
JP01 - Arisu Custom CNC Aluminum Unibody Keyboard Case
Stars: ✭ 84 (-10.64%)
Mutual labels:  keyboard
Commit Msg Linter
git commit message linter hook
Stars: ✭ 87 (-7.45%)
Mutual labels:  hook

gohook

Build Status CircleCI Status Appveyor Go Report Card GoDoc

package main

import (
	"fmt"

	hook "github.com/robotn/gohook"
)

func main() {
	add()

	low()
}

func add() {
	fmt.Println("--- Please press ctrl + shift + q to stop hook ---")
	hook.Register(hook.KeyDown, []string{"q", "ctrl", "shift"}, func(e hook.Event) {
		fmt.Println("ctrl-shift-q")
		hook.End()
	})

	fmt.Println("--- Please press w---")
	hook.Register(hook.KeyDown, []string{"w"}, func(e hook.Event) {
		fmt.Println("w")
	})

	s := hook.Start()
	<-hook.Process(s)
}

func low() {
	EvChan := hook.Start()
	defer hook.End()

	for ev := range EvChan {
		fmt.Println("hook: ", ev)
	}
}

Based on libuiohook.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].