Comments (1)
################################################################
# Hyper MouseKey #
################################################################
- description: Hyper MouseKey
manipulators:
#==========================================================#
# ( mouse wheel ) -> ( desktop switch ) #
#==========================================================#
- description: 'mouse_wheel_up = ctrl + left (prev desktop)'
type: basic
from: { mouse_key: { vertical_wheel: -32 }, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
to: [ { key_code: left_arrow , modifiers: [ left_control ] } ]
- description: 'mouse_wheel_down = ctrl + right (next desktop)'
type: basic
from: { mouse_key: { vertical_wheel: 32 }, modifiers: { mandatory: [ right_command,right_control,right_shift,right_option ] } }
to: [ { key_code: left_arrow , modifiers: [ left_control ] } ]
按住 capslock 同时滚动鼠标轮轴就可以左右切换桌面的实现.yml
思路这样,你试着模仿,复制和修改 capslock.json,然后测试(我没鼠标)
🤔 from.any
You can use from.any as follows.
These matches all key codes, consumer key codes or pointing buttons.
"any": "key_code"
"any": "consumer_key_code"
"any": "pointing_button"
但官网文档给出的输入按键,仅支持三种类型,所以这条路可能会失败。
from capslock.
Related Issues (20)
- Mac下应用捷径无法切换到已打开应用 HOT 2
- What's the use case of the "all:" target in makefile? HOT 1
- Mac Version? HOT 3
- [Enhancement] MacBook keyboard visualisation HOT 4
- Caps lock + Space 无法切换中英文输入法 HOT 3
- Problem with clipboard management? HOT 3
- 求问,怎么解决影响中英文切换的问题
- 求问,怎么解决影响中英文切换的问题 HOT 5
- Slow Response HOT 5
- It's so AMAZING and AWESOME! How can I stop admire of this repository?
- 关于Home和End键映射的一些问题 HOT 2
- Mouse Backward and Forward do not work as expected
- Custom Hyper Shortcuts Available for Global App Usage? HOT 3
- Similar effects can be achieved on linux (keyd) HOT 2
- Tip on pressing so many keys at once
- wrong colors in README
- Consider blocking some remote software? HOT 2
- map an action to double tab caps lock
- How do you generate the keyboard images? HOT 1
- unable to use cap + cmd + I to select text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capslock.