diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-07 14:43:17 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-07 14:44:47 +0200 |
commit | ad83ea03eb3184873f7c63b7077b0be6d6e692b2 (patch) | |
tree | 5228887ff7c58626136d2461c9cd515225cbd5f0 /c/src/lib/libbsp/shared | |
parent | psxtests/psxcleanup: Fix cleanup push/pop test (diff) | |
download | rtems-ad83ea03eb3184873f7c63b7077b0be6d6e692b2.tar.bz2 |
mouse: Add shared bsp_get_serial_mouse_device()
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r-- | c/src/lib/libbsp/shared/get-serial-mouse-ps2.c | 26 |
1 files changed, 26 insertions, 0 deletions
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 + * <info@embedded-brains.de> + * + * 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 <rtems/serial_mouse.h> + +bool bsp_get_serial_mouse_device( + const char **name, + const char **type +) +{ + *name = SERIAL_MOUSE_DEVICE_PS2; + *type = "ps2"; + + return true; +} |