2020-12-03 13:34:33 +01:00
|
|
|
/*
|
|
|
|
* clevo_interfaces.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 TUXEDO Computers GmbH <tux@tuxedocomputers.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2020-12-03 10:15:38 +01:00
|
|
|
#include <linux/types.h>
|
2020-12-02 17:25:43 +01:00
|
|
|
|
|
|
|
#ifndef TUXEDO_KEYBOARD_H
|
|
|
|
#define TUXEDO_KEYBOARD_H
|
|
|
|
|
|
|
|
int clevo_keyboard_init(void);
|
|
|
|
|
|
|
|
struct clevo_interface_t {
|
|
|
|
char *string_id;
|
|
|
|
void (*event_callb)(u32);
|
|
|
|
u32 (*method_call)(u8, u32, u32*);
|
|
|
|
};
|
|
|
|
|
|
|
|
u32 clevo_keyboard_add_interface(struct clevo_interface_t *new_interface);
|
2020-12-03 10:15:38 +01:00
|
|
|
u32 clevo_keyboard_remove_interface(struct clevo_interface_t *interface);
|
2020-12-02 17:25:43 +01:00
|
|
|
|
|
|
|
#endif
|