18b8be51bSThomas Hellstrom /* 28b8be51bSThomas Hellstrom * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors. 38b8be51bSThomas Hellstrom * 48b8be51bSThomas Hellstrom * Copyright (C) 2014, VMware, Inc. All Rights Reserved. 58b8be51bSThomas Hellstrom * 68b8be51bSThomas Hellstrom * This program is free software; you can redistribute it and/or modify it 78b8be51bSThomas Hellstrom * under the terms of the GNU General Public License version 2 as published by 88b8be51bSThomas Hellstrom * the Free Software Foundation. 98b8be51bSThomas Hellstrom */ 108b8be51bSThomas Hellstrom 118b8be51bSThomas Hellstrom #ifndef _VMMOUSE_H 128b8be51bSThomas Hellstrom #define _VMMOUSE_H 138b8be51bSThomas Hellstrom 148b8be51bSThomas Hellstrom #ifdef CONFIG_MOUSE_PS2_VMMOUSE 158b8be51bSThomas Hellstrom #define VMMOUSE_PSNAME "VirtualPS/2" 168b8be51bSThomas Hellstrom 178b8be51bSThomas Hellstrom int vmmouse_detect(struct psmouse *psmouse, bool set_properties); 188b8be51bSThomas Hellstrom int vmmouse_init(struct psmouse *psmouse); 198b8be51bSThomas Hellstrom #else 208b8be51bSThomas Hellstrom static inline int vmmouse_detect(struct psmouse *psmouse, bool set_properties) 218b8be51bSThomas Hellstrom { 228b8be51bSThomas Hellstrom return -ENOSYS; 238b8be51bSThomas Hellstrom } 248b8be51bSThomas Hellstrom static inline int vmmouse_init(struct psmouse *psmouse) 258b8be51bSThomas Hellstrom { 268b8be51bSThomas Hellstrom return -ENOSYS; 278b8be51bSThomas Hellstrom } 288b8be51bSThomas Hellstrom #endif 298b8be51bSThomas Hellstrom 308b8be51bSThomas Hellstrom #endif 31