From ad83ea03eb3184873f7c63b7077b0be6d6e692b2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 7 Jul 2013 14:43:17 +0200 Subject: mouse: Add shared bsp_get_serial_mouse_device() --- c/src/lib/libbsp/shared/get-serial-mouse-ps2.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 c/src/lib/libbsp/shared/get-serial-mouse-ps2.c (limited to 'c/src/lib/libbsp/shared/get-serial-mouse-ps2.c') diff --git a/c/src/lib/libbsp/shared/get-serial-mouse-ps2.c b/c/src/lib/libbsp/shared/get-serial-mouse-ps2.c new file mode 100644 index 0000000000..3010795097 --- /dev/null +++ b/c/src/lib/libbsp/shared/get-serial-mouse-ps2.c @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2013 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include + +bool bsp_get_serial_mouse_device( + const char **name, + const char **type +) +{ + *name = SERIAL_MOUSE_DEVICE_PS2; + *type = "ps2"; + + return true; +} -- cgit v1.2.3