This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
inline static int | |
ul_pattern(int data) | |
{ | |
return (~((data << 1) | (data >> 1))) | data; | |
} | |
inline static int | |
expbits(int data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/arch/luna68k/dev/lunaws.c b/sys/arch/luna68k/dev/lunaws.c | |
index 06379fdf4..edf2d9c8f 100644 | |
--- a/sys/arch/luna68k/dev/lunaws.c | |
+++ b/sys/arch/luna68k/dev/lunaws.c | |
@@ -77,9 +77,9 @@ struct ws_softc { | |
u_int sc_rxqtail; | |
#if NWSMOUSE > 0 | |
device_t sc_wsmousedev; | |
- int sc_msreport; | |
int sc_msbuttons, sc_msdx, sc_msdy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/sys/arch/luna68k/stand/boot/kbd.c | |
+++ b/sys/arch/luna68k/stand/boot/kbd.c | |
@@ -213,12 +213,23 @@ static const struct kbd_keymap kbd_keymap[] = { | |
int shift_flag = 0; | |
int ctrl_flag = 0; | |
int meta_flag = 0; | |
+int mouse_flag = 0; | |
int | |
kbd_decode(uint8_t code) |