Re: Actions questions

On 09/05/16 17:06, James Graham wrote:
> Summary of my thinking with the protocol at the moment (as much for my
> reference as anything):
>
> <ActionsCommand>
> {
> actions: [<ActionSequence>]
> }
>
> <ActionSequence>:
> {
> id: String, # Device id
> type: "key" | "pointer", # Type of actions in this sequence
> actions: [(<KeyAction>|<PointerAction>)|<GeneralAction>]
> }

I guess this is slightly wrong; it should be something like

[…]
actions: [<PointerActionItem>] | [KeyActionItem]
}

<KeyActionItem>:
<GeneralAction> | <KeyAction>

<PointerActionItem>:
<GeneralAction> | <PointerAction>

[…]

Received on Monday, 9 May 2016 16:10:15 UTC