event: add PULL_INPUT event

Rename some events, add an explicit event to pull input
This commit is contained in:
Wim Taymans 2016-06-06 22:29:07 +02:00
parent e56f120559
commit 6377b9bd12
4 changed files with 21 additions and 109 deletions

View file

@ -363,7 +363,7 @@ on_event (SpiNode *node, SpiEvent *event, void *user_data)
AppData *data = user_data;
switch (event->type) {
case SPI_EVENT_TYPE_NEED_INPUT:
case SPI_EVENT_TYPE_PULL_INPUT:
{
SpiBuffer *buf;
SpiInputInfo iinfo;