Commit 02eac1c6 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Add support for ps2 intellimouse.

2000-12-13    <alexl@redhat.com>

	* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
	Add support for ps2 intellimouse.

	* gdkkeyboard-fb.c:
	Move shift-F1 repaint handling to xlate handler only.

	* docs/README.linux-fb:
	Add imps2 to docs.
	Document the new refresh keys.
parent 2c9eb3a5
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
2000-12-13 <alexl@redhat.com>
* gdk/linux-fb/gdkmouse-fb.c (mouse_devs):
Add support for ps2 intellimouse.
* gdkkeyboard-fb.c:
Move shift-F1 repaint handling to xlate handler only.
* docs/README.linux-fb:
Add imps2 to docs.
Document the new refresh keys.
Tue Dec 12 23:46:44 2000 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
......
......@@ -103,6 +103,7 @@ GDK_DISPLAY:
GDK_MOUSE_TYPE:
Specify mouse type. Currently supported is:
ps2 - PS/2 mouse
imps2 - PS/2 intellimouse (wheelmouse)
ms - Microsoft serial mouse
fidmour - touch screen
Default is ps2.
......@@ -124,9 +125,16 @@ GDK_KEYBOARD_TYPE:
HACKING:
--------
Pressing shift-F1 forces a repaint of the whole screen.
To be written.
Pressing Ctrl-Alt-Return repaints the whole screen.
Unfortunately this cannot be pressed when using the xlate keyboard
driver, so instead you can use shift-F1 instead when using this
driver.
Pressing Ctrl-Alt-BackSpace kills the GtkFB program. (Can't be pressed
in the xlate driver.
More to be written.
- Alexander Larsson <alexl@redhat.com>
2000/12/06
......
......@@ -371,11 +371,6 @@ gdk_fb_handle_key (guint hw_keycode,
gdk_fb_redraw_all ();
}
/* Ctrl-Alt Return can't be pressed in the XLATE driver,
* use Shift F1 instead */
if (key_up && (keyval == GDK_F1) && (modifier_state & GDK_SHIFT_MASK))
gdk_fb_redraw_all ();
win = gdk_fb_window_find_focus ();
event = gdk_event_make (win,
key_up ? GDK_KEY_RELEASE : GDK_KEY_PRESS,
......@@ -767,6 +762,12 @@ xlate_io (GIOChannel *gioc,
{
if (iscode (xlate_codes[j].str, &buf[i], left))
{
/* Ctrl-Alt Return can't be pressed in the XLATE driver,
* use Shift F1 instead */
if ((xlate_codes[j].code == GDK_F1) &&
(xlate_codes[j].modifier & GDK_SHIFT_MASK))
gdk_fb_redraw_all ();
gdk_fb_handle_key (xlate_codes[j].code,
xlate_codes[j].code,
xlate_codes[j].modifier,
......
......@@ -232,6 +232,13 @@ static GdkFBMouseDevice mouse_devs[] =
gdk_fb_mouse_ps2_packet,
{ 0xc0, 0x00 }
},
{ "imps2",
4,
gdk_fb_mouse_ps2_open,
gdk_fb_mouse_ps2_close,
gdk_fb_mouse_ps2_packet,
{ 0xc0, 0x00 }
},
{ "ms",
3,
gdk_fb_mouse_ms_open,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment