SuperCollider CLASSES (extension)

KeyCodesEditor
ExtensionExtension

an editor allowing to edit platform-specific key-mappings
Inherits from: KeyDownActions : Object

Description

The values currently stored in KeyDownActions: *modifiersQt, KeyDownActions: *modifiersCocoa, KeyDownActions: *arrowsModifiersQt and KeyDownActions: *arrowsModifiersCocoa are the result of empiric studies. However, they may still differ from the configuration on your system. This editor makes mappings fully editable by the user. See KeyDownActions: *keyCodes and KeyDownActions: *arrowsModifiersQt for code-snippets that let you determine mappings on your system.

Class Methods

*new (parent, bounds)

Open a new KeyCodesEditor.

Arguments:

parent

a View

bounds

a Rect, determining position and size.

Returns:

a KeyCodesEditor

Inherited class methods

Instance Methods

-result (write: true)

Get the current result from a KeyCodesEditor instance.

Arguments:

write

a Boolean, determining whether the result should be written to disk immediately or not. Default: true

Returns:

-window

The Window of a keyCodesEditor instance.

Returns:

-eas

The editing-areas: keyCodes, modifiers, arrowsModifiers...

Returns:

an Event

Inherited instance methods

Examples

k = KeyCodesEditor.new;
k.result;