Linux Audio

Check our new training course

Loading...
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors.
 4 *
 5 * Copyright (C) 2014, VMware, Inc. All Rights Reserved.
 
 
 
 
 6 */
 7
 8#ifndef _VMMOUSE_H
 9#define _VMMOUSE_H
10
 
11#define VMMOUSE_PSNAME  "VirtualPS/2"
12
13int vmmouse_detect(struct psmouse *psmouse, bool set_properties);
14int vmmouse_init(struct psmouse *psmouse);
 
 
 
 
 
 
 
 
 
 
15
16#endif
v4.6
 
 1/*
 2 * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors.
 3 *
 4 * Copyright (C) 2014, VMware, Inc. All Rights Reserved.
 5 *
 6 * This program is free software; you can redistribute it and/or modify it
 7 * under the terms of the GNU General Public License version 2 as published by
 8 * the Free Software Foundation.
 9 */
10
11#ifndef _VMMOUSE_H
12#define _VMMOUSE_H
13
14#ifdef CONFIG_MOUSE_PS2_VMMOUSE
15#define VMMOUSE_PSNAME  "VirtualPS/2"
16
17int vmmouse_detect(struct psmouse *psmouse, bool set_properties);
18int vmmouse_init(struct psmouse *psmouse);
19#else
20static inline int vmmouse_detect(struct psmouse *psmouse, bool set_properties)
21{
22	return -ENOSYS;
23}
24static inline int vmmouse_init(struct psmouse *psmouse)
25{
26	return -ENOSYS;
27}
28#endif
29
30#endif