blob: b37ac81725fa7d9e4a7572dcd356dff03f8fc1aa [file] [log] [blame]
Stéphane Marchesinae37e6c2014-08-08 18:19:40 -07001/*
2 * Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7#ifndef INPUT_H
8#define INPUT_H
9
10#include <linux/input.h>
David Sodman8ef20062015-01-06 09:23:40 -080011
David Sodmanbf3f2842014-11-12 08:26:58 -080012#include "term.h"
13#include "video.h"
Stéphane Marchesinae37e6c2014-08-08 18:19:40 -070014
Stéphane Marchesinae37e6c2014-08-08 18:19:40 -070015int input_init();
16void input_close();
Dominik Behr4defb362016-01-13 12:36:14 -080017int input_add_fds(fd_set* read_set, fd_set* exception_set);
Dominik Behr44e07e62016-01-13 19:43:57 -080018void input_dispatch_io(fd_set* read_set, fd_set* exception_set);
Stéphane Marchesinae37e6c2014-08-08 18:19:40 -070019
20#endif