Bug 11955 (CMPC-Layout) - US and US International Layouts to ClassmatePC
Summary: US and US International Layouts to ClassmatePC
Status: RESOLVED FIXED
Alias: CMPC-Layout
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 00:26 UTC by Piter PUNK
Modified: 2007-08-17 17:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
US Classmate Layouts (5.94 KB, patch)
2007-08-12 00:30 UTC, Piter PUNK
Details | Splinter Review
US ClassmatePC Layouts with separated Volume keys (5.93 KB, patch)
2007-08-12 19:01 UTC, Piter PUNK
Details | Splinter Review

Description Piter PUNK 2007-08-12 00:26:19 UTC
Classmate PC doesn't have the AltGr key (or any special key on the right hand), but have the EuroSign(€) engraved in 5 key. It have one key engraved "backslash bar" but that key sends LSGT keycode.

Searching for a way to reach EuroSign without loose any existing key (it only have Fn,LCTL,LWIN and LALT) i found Fn+Alt gives RCTL. The first map is based on us(intl) and sets:

1. Volume keys
2. RCTL as ISO_Level3_Swift
3. <LSGT> as "backslash bar"
4. Put EuroSign at 5 (eurosign(5) option)

The other three maps does the same but using us(intl), us(alt-intl) ans us(altgr-intl) as base. In all that keyboards we have one extra problem; Fn+{7,8,9,0,u,i,o,p,j,k,l,;,m.,/} gives the keypad keycodes. To solve that, i added in those keys the 3rd level. We got this behavior (using classmate-intl as example):

. 7 gives -> 7
. Shift+7 gives -> &
. Fn+7 gives -> KP_Home
. Fn+Shift+7 gives -> KP_7
. Fn+Alt+7 gives -> onehalf
. Fn+Alt+Shift+7 -> dead_horn

With that we got back all AltGr keys without loose the keypad. I only do that to US layouts because i only had access to US keyboard Classmate.
Comment 1 Piter PUNK 2007-08-12 00:30:14 UTC
Created attachment 11106 [details] [review]
US Classmate Layouts

Add some keyboard layouts to ClassmatePC:
  . classmate
  . classmate-intl
  . classmate-alt-intl
  . classmate-altgr-intl

This patch also removes redundant <AE06> definition on us(altgr-intl)
Comment 2 Sergey V. Udaltsov 2007-08-12 01:06:32 UTC
I do not like the idea of putting the volume and other special keys to symbols/us. They belong to symbols/inet and should be used for the model. Also, I think 3 special rules should be added "if model is classmate and layout is us - use us(classmate)" and so on...
Comment 3 Piter PUNK 2007-08-12 04:05:17 UTC
(In reply to comment #2)
> I do not like the idea of putting the volume and other special keys to
> symbols/us. They belong to symbols/inet and should be used for the model. Also,
> I think 3 special rules should be added "if model is classmate and layout is us
> - use us(classmate)" and so on...

Ok, i will add a classmate model in symbols/inet. No more problems with the patch?

Comment 4 Sergey V. Udaltsov 2007-08-12 04:27:42 UTC
> Ok, i will add a classmate model in symbols/inet. No more problems with the
> patch?
Other than this it is generally ok. 

Comment 5 Piter PUNK 2007-08-12 19:01:42 UTC
Created attachment 11113 [details] [review]
US ClassmatePC Layouts with separated Volume keys

The same patch as before, but with the volume keys inside inet(classmate). The other changes still in us.
Comment 6 Sergey V. Udaltsov 2007-08-17 17:33:01 UTC
That version is better. Committed. Thanks for the contribution - and please check that the rules I added work ok for you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.