Fix shift key problem

This commit is contained in:
courtjester 2005-08-30 17:31:01 +00:00
parent d8986aaa79
commit 5e893e8314
11 changed files with 29 additions and 17 deletions

View file

@ -1,3 +1,5 @@
0.9 30-Aug-2005
Fix shift key problem
0.8 4-Jul-2005
Add full support for virtual keys.
0.7 2-Jun-2005

View file

@ -6,13 +6,13 @@
Summary: %{name}
Name: libkmfl
Version: 0.7
Version: 0.9
Release: 1suse
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: User Interface/X
License: GPL
Source0: %{name}-%{version}.suse.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/libkmfl
BuildArch: i586

View file

@ -6,13 +6,13 @@
Summary: %{name}
Name: libkmfl
Version: 0.6
Version: 0.9
Release: 1fc2
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: User Interface/X
License: GPL
Source0: %{name}-%{version}.fc2.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/libkmfl
BuildArch: i586

View file

@ -6,7 +6,7 @@
Summary: %{name}
Name: libkmfl
Version: 0.6
Version: 0.9
Release: 1
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>

View file

@ -6,13 +6,13 @@
Summary: %{name}
Name: libkmfl
Version: 0.6
Version: 0.9
Release: 1mdk
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: User Interface/X
License: GPL
Source0: %{name}-%{version}.mdk.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/libkmfl
BuildArch: i586

View file

@ -6,13 +6,13 @@
Summary: %{name}
Name: libkmfl
Version: 0.6
Version: 0.9
Release: 1suse
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: User Interface/X
License: GPL
Source0: %{name}-%{version}.suse.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/libkmfl
BuildArch: i586

View file

@ -104,7 +104,17 @@ int kmfl_interpret(KMSI *p_kmsi, UINT key, UINT state)
p_kmsi->history[0] = keysym;
// Pass control to the first group for processing, and return if key was matched
if((matched=process_group(p_kmsi, p_group1)) > 0) return 1;
if((matched=process_group(p_kmsi, p_group1)) > 0)
return 1;
// Now try without shift state
if (state & KS_SHIFT != 0)
{
keysym &= ~((unsigned long)KS_SHIFT<<16);
p_kmsi->history[0] = keysym;
if((matched=process_group(p_kmsi, p_group1)) > 0)
return 1;
}
/* need some kind of error notification if error value returned */

View file

@ -7,13 +7,13 @@
Summary: %{name}
Name: scim_kmfl_imengine
Version: 0.6
Version: 0.9
Release: 1fc2
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: Applications/System
License: GPL
Source0: %{name}-%{version}.fc2.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/scim_kmfl_imengine
BuildArch: i586

View file

@ -7,7 +7,7 @@
Summary: %{name}
Name: scim_kmfl_imengine
Version: 0.6
Version: 0.9
Release: 1
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>

View file

@ -7,13 +7,13 @@
Summary: %{name}
Name: scim_kmfl_imengine
Version: 0.6
Version: 0.9
Release: 1mdk
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: Applications/System
License: GPL
Source0: %{name}-%{version}.mdk.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/scim_kmfl_imengine
BuildArch: i586

View file

@ -7,13 +7,13 @@
Summary: %{name}
Name: scim_kmfl_imengine
Version: 0.6
Version: 0.9
Release: 1suse
Vendor: SIL <doug_rintoul@sil.org>
Packager: Doug Rintoul <doug_rintoul@sil.org>
Group: Applications/System
License: GPL
Source0: %{name}-%{version}.suse.tar.gz
Source0: %{name}-%{version}.tar.gz
# Url: (none)
BuildRoot: /var/tmp/scim_kmfl_imengine
BuildArch: i586