Skip to content

Commit

Permalink
Document SCOL command
Browse files Browse the repository at this point in the history
  • Loading branch information
ligfx committed May 11, 2021
1 parent 1bb13b9 commit 447af2b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/caos/caosVM_input.cpp
Expand Up @@ -246,6 +246,19 @@ void v_MOPY(caosVM* vm) {
/**
SCOL (integer) andmask (integer) eormask (integer) upspeeds (bytestring) downspeeds (bytestring)
%status stub
Set an AND and an EOR mask, to control the following scrolling functions:
1 - Screen edge nudgy scrolling
2 - Keyboard scrolling
4 - Middle mouse button screen dragging
8 - Mouse wheel screen scrolling
The byte strings is used for nudgy and keyboard scrolling. The defaults are
[1 2 4 8 16 32 64] and [0 1 2 4 8 16 32]. They represent the number of pixels
scrolled each consecutive tick, as the scrolling gets slower and faster.
If you use [] for a byte string, then the string won't be changed at all.
*/
void v_SCOL(caosVM* vm) {
VM_PARAM_BYTESTR(downspeeds)
Expand Down

0 comments on commit 447af2b

Please sign in to comment.