blob: 0876a5ce5ea91a0308d928795c4b3b04781ed56e [file] [log] [blame]
/*
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef INPUT_H
#define INPUT_H
#include <linux/input.h>
#include "term.h"
int input_init();
void input_close();
void input_add_fds(fd_set* read_set, fd_set* exception_set, int *maxfd);
void input_dispatch_io(fd_set* read_set, fd_set* exception_set);
int input_add(const char* devname);
void input_remove(const char* devname);
int input_check_lid_state(void);
#endif