Git Product home page Git Product logo

mousegesture's Introduction

MouseGesture

文件说明:

GUI部分文件说明:

  • main.cpp: windows程序入口
  • hook.h, hook.cpp: 实现了对鼠标、键盘的hook,可以获取鼠标位置、按键状态、键盘按键状态
  • global.h: 声明全局变量

功能API部分文件说明:

  • action.h, action.cpp: C语言实现的模拟按键、命令的实现
  • action.asm, action.lib: masm源代码
  • action.obj: 目标文件
  • action.lib: 生成的静态库

功能API:

copy PROTO STDCALL
paste PROTO STDCALL
Win PROTO STDCALL
AltTab PROTO STDCALL ;切换任务
WinTab PROTO STDCALL ;查看任务
WinD PROTO STDCALL ;桌面
WinUp PROTO STDCALL ;最大化;上半屏
WinDown PROTO STDCALL ;最小化;下半屏
WinLeft PROTO STDCALL ;左半屏
WinRight PROTO STDCALL ;右半屏
AltLeft PROTO STDCALL ;后退
AltRight PROTO STDCALL ;前进
mute PROTO STDCALL, ;静音
    hgWnd:DWORD
soundUp PROTO STDCALL, ;增大音量
    hgWnd:DWORD
soundDown PROTO STDCALL, ;减小音量
    hgWnd:DWORD

ControlPanel PROTO STDCALL ;控制面板
TaskManager PROTO STDCALL ;任务管理器
NotePad PROTO STDCALL ;记事本
Calculator PROTO STDCALL ;计算器
WebSearchText PROTO STDCALL, ;在默认浏览器中搜索
   text:PTR BYTE
WebSearchAuto PROTO STDCALL ;在默认浏览器中搜索

使用方法:

INCLUDE action.inc
INCLUDELIB action.lib

mousegesture's People

Contributors

ssrsgjyd avatar fengh16 avatar

Stargazers

猪肉荣 avatar Mohamed Saher avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.