Skip to main content

Layout

set_layout

Set layout.

Choose a name from the list of predefined layouts or set map to use your own custom layout.

eyeson.send({
type: 'set_layout',
params: {
layout: 'auto' | 'custom',
name: '',
users: [...], // list of userIds
map: JSON.stringify([...]), // optional
show_names: true | false, // optional, default: true
voice_activation: true | false, // optional, only if layout = auto
},
});

options_update

One or more options were updated.

{
type: 'options_update',
options: {
...
layout: 'auto' | 'custom',
layout_name: null | String,
layout_users: null | Array,
layout_map: null | Array,
show_names: true | false,
voice_activation: true | false,
...
},
}