Comments (1)
Deffinitely should be done after #2 is done!
Would want to make some sort of comprehensive system for that.
Goals:
- Be able to use special keys in combination with normal keys, etc.
- Be able to use duration for different keys
Notation: (this is just an example as how that could work, nothing final yet)
Prefix:
/<duration>;<before>;<after>/
Example: /40~10;115~50;150~80/
Notes:
- can be used to set global timings for the whole sequence if no specific timings are set;
- duration must be set, if before and after aren't set duration will be used;
- might be good to introduce a global prefix for all commands too;
Key:
<key>(<duration>);
Example: a(250~5);b(230~10);
Notes:
- press key for
duration
ms, ended with semicolon;~
after the duration can be used to randomize the press time
Modifier:
{<key>(<before>, <after>):[<key>; ...]}
Example: {SHIFT(30~5,30~5):[a(50~15);b(50~15);c(50~15)]}
Notes:
- press key while pressing other keys;
before
says for how much miliseconds the modifier key should be pressed before it presses other keys, the same goes forafter
which happens after the execution of all the keys;- all keys should be encompassed in [] and should be in the key format described above;
Full example: /50~10/{SHIFT(30~5,20~5):[a;b;c;d(80);e(10~3);f;g]};f;a;x
from opendiscord.
Related Issues (10)
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 opendiscord.