Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e192025 authored by Erik Arfvidson's avatar Erik Arfvidson Committed by Greg Kroah-Hartman
Browse files

staging: unisys: add visorhid driver



This driver provides mouse and keyboard input to Unisys s-Par
Partition Desktop application. This device is created by the
visorbus device.

Signed-off-by: default avatarErik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a8c41b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,5 +13,6 @@ if UNISYSSPAR

source "drivers/staging/unisys/visorbus/Kconfig"
source "drivers/staging/unisys/visornic/Kconfig"
source "drivers/staging/unisys/visorhid/Kconfig"

endif # UNISYSSPAR
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@
#
obj-$(CONFIG_UNISYS_VISORBUS)		+= visorbus/
obj-$(CONFIG_UNISYS_VISORNIC)		+= visornic/
obj-$(CONFIG_UNISYS_VISORHID)          += visorhid/
+10 −0
Original line number Diff line number Diff line
#
# Unisys visorhid configuration
#

config UNISYS_VISORHID
	tristate "Unisys visorhid driver"
	depends on UNISYSSPAR && UNISYS_VISORBUS && FB
	---help---
	If you say Y here, you will enable the Unisys visorhid driver.
+7 −0
Original line number Diff line number Diff line
#
# Makefile for Unisys visorhid
#

obj-$(CONFIG_UNISYS_VISORHID)	+= visorhid.o

ccflags-y += -Idrivers/staging/unisys/include
+32 −0
Original line number Diff line number Diff line
/* Copyright (C) 2010 - 2015 UNISYS CORPORATION
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * 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, GOOD TITLE or
 * NON INFRINGEMENT.  See the GNU General Public License for more
 * details.
 */

#ifndef __SPAR_KEYBOARDCHANNEL_H__
#define __SPAR_KEYBOARDCHANNEL_H__

#include <linux/kernel.h>
#include <linux/uuid.h>

#include "channel.h"
#include "ultrainputreport.h"

/* {c73416d0-b0b8-44af-b304-9d2ae99f1b3d} */
#define SPAR_KEYBOARD_CHANNEL_PROTOCOL_UUID				\
	UUID_LE(0xc73416d0, 0xb0b8, 0x44af,				\
		0xb3, 0x4, 0x9d, 0x2a, 0xe9, 0x9f, 0x1b, 0x3d)
#define SPAR_KEYBOARD_CHANNEL_PROTOCOL_UUID_STR "c73416d0-b0b8-44af-b304-9d2ae99f1b3d"
#define SPAR_KEYBOARD_CHANNEL_PROTOCOL_VERSIONID 1
#define KEYBOARD_MAXINPUTREPORTS 50

#endif
Loading