Previous
|
Up
|
Next
|
New OS-Specific Primitives in Epsilon 10 |
Changes from Older Versions |
New Color Primitives in Epsilon 10 |
Epsilon User's Manual and Reference >
Changes from Older Versions >
New EEL Primitives and Subroutines in Epsilon 10 >
New Input Primitives in Epsilon 10
int is_key_repeating()
The is_key_repeating( ) primitive returns nonzero if the user is
currently holding down a key causing it to repeat. Epsilon can't detect this
in all environments, so the primitive always returns 0 in that case.
int was_key_shifted()
The was_key_shifted( ) subroutine tells if the user held down Shift
when pressing the current key. Some keys produce the same key code with or
without shift.
Unlike the shift_pressed( ) primitive, which reports on the current state
of the Shift key, this one works with keyboard macros by returning the state
of the Shift key at the time the key was originally pressed. A subroutine
must call was_key_shifted( ) at the time the macro is recorded for the
Shift state to be recorded in the macro. Macros defined by a command file
can use an E- prefix to indicate this.
Previous
|
Up
|
Next
|
New OS-Specific Primitives in Epsilon 10 |
Changes from Older Versions |
New Color Primitives in Epsilon 10 |
Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.
|