URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [mw/] [src/] [drivers/] [mou_ser.c] - Diff between revs 673 and 716
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 673 |
Rev 716 |
Line 46... |
Line 46... |
#if ELKS
|
#if ELKS
|
#define MOUSE_PORT "/dev/ttys0" /* default mouse tty port */
|
#define MOUSE_PORT "/dev/ttys0" /* default mouse tty port */
|
#else
|
#else
|
#define MOUSE_PORT "/dev/ttyS1" /* default mouse tty port */
|
#define MOUSE_PORT "/dev/ttyS1" /* default mouse tty port */
|
#endif
|
#endif
|
#define MOUSE_TYPE "pc" /* default mouse type "ms","pc","ps2" */
|
#define MOUSE_TYPE "ms" /* default mouse type "ms","pc","ps2" */
|
#endif
|
#endif
|
#define MAX_BYTES 128 /* number of bytes for buffer */
|
#define MAX_BYTES 128 /* number of bytes for buffer */
|
|
|
/* states for the mouse*/
|
/* states for the mouse*/
|
#define IDLE 0 /* start of byte sequence */
|
#define IDLE 0 /* start of byte sequence */
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.