[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255011: xlibs: mapping for macintosh/ca



Ce jour Fri, 15 Oct 2004, Denis Barbier a dit:

> Selon simon@nuit.ca:

> > >   setxkbmap -model pc105 -layout ca -option altwin:rwin_switch
>   http://people.debian.org/~barbier/xkb/xkb-4.3.0.dfsg.1-8+SVN.tar.bz2

i overwrote xkb/ (no matter), and ran 
"setxkbmap -model pc105 -layout ca -option altwin:rwin_switch", disabled
xmodmap from loading, and i get this with xev:

an xev mapping of my "control" keys, going from left to right
-------------------------------------------------------------
ctrl_l, option_l, command_l, command_r, option_r, ctrl_r;
(CTRL; option=ALT; command=META(?), win key i suppose on m$hit kbds.)
with setxkbmap -model pc105 -layout ca -option altwin:rwin_switch set:

======
===
control left:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 276339, (-369,-11), root:(448,290),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 276553, (-369,-11), root:(448,290),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

===

option left:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 304521, (107,89), root:(924,390),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 304580, (107,89), root:(924,390),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

===

command left:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 327569, (89,96), root:(906,397),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 327628, (89,96), root:(906,397),
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

===

command right:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 345517, (102,30), root:(919,331),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 345585, (102,30), root:(919,331),
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

===

option right:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 357898, (139,41), root:(956,342),
    state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 357980, (139,41), root:(956,342),
    state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""

===

control right:
KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 371738, (48,75), root:(865,376),
    state 0x0, keycode 109 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x40, subw 0x0, time 371843, (48,75), root:(865,376),
    state 0x2000, keycode 109 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 bytes:  ""
=====

rather annoying i can't map Mode_switch to command right, and free up my
right control key... that would be ok i suppose. i *do* have 6 keys, not
5 ;) (these old ADB keyboards don't come with only 5 modifier keys -
some did, but those are tiny compared to these full-sized ones).

> --
> Denis
> 

-- 
 ,''`.   http://www.debian.org/    http://www.nuit.ca/
 : :' :  Debian GNU/Linux          http://simonraven.nuit.ca/
 '
   `-
 ---------------------------------------------------------------
  GPG Print: 7C49 FD9C 1054 7300 3B7B 8BF4 6A88 7AE2 711D F097

Attachment: signature.asc
Description: Digital signature


Reply to: