[openbeos] Re: Keymapping

Maybe the pref should have a"scratch drag" area to allow to drag 
keys temporarily.
Btw, the R5 one use that kind of message:
What='CHKY'
B_RAW_TYPE            "string"                 0000 - 0168                      
           .h
B_INT32_TYPE          "key"                    65 (0x00000041)
B_INT32_TYPE          "modifiers"              0 (B_OK)
B_RAW_TYPE            "control"                0000 - 0108                      
           ..
B_RAW_TYPE            "option_caps_shift"      0000 - 00                        
           .
B_RAW_TYPE            "option_caps"            0000 - 0120                      
           . 
B_RAW_TYPE            "option_shift"           0000 - 00                        
           .
B_RAW_TYPE            "option"                 0000 - 0120                      
           . 
B_RAW_TYPE            "caps_shift"             0000 - 0168                      
           .h
B_RAW_TYPE            "caps"                   0000 - 0148                      
           .H
B_RAW_TYPE            "shift"                  0000 - 0148                      
           .H
B_RAW_TYPE            "normal"                 0000 - 0168                      
           .h
B_INT32_TYPE          "buttons"                2 (0x00000002)
B_POINT_TYPE          "_drop_point_"           x=685.00    y=387.00
B_POINT_TYPE          "_drop_offset_"          x=14.00     y=7.00

That's not a standard dragable message, which explains why the keys can't 
be dragged to StyledEdit or something.
Maybe we should use B_SIMPLE_DATA instead ? but we would loose infos 
when draging back from StyledEdit.

François.

Selon Sandor Vroemisse <vroemisse@xxxxxxx>:

> Mattia Tristo wrote:
> 
> >There is anybody working to an application that allow the user to choose the
> 
> >character to be mapped into the keymap? I am developing an app that make
> this 
> >and i have heard that other people are making a similar app.
> >  
> >
> The preference app Keymap can do that; you can drag characters from one 
> key to another with it. Too bad you can't store characters in some kind 
> of intermediate storage. This means you loose characters in the process 
> :(   Unless I don't understand all the ins and outs of the program that 
> is, which isn't particularly unlikely. If there is a way however, it 
> isn't intuitive and needs to be changed anyway. (Do any old-time BeOS 
> users know?)
> 
> I've once made a start on recreating Keymap but I dropped it later on. 
> If you feel like it, you could pick it up where I left off or otherwise 
> steal code and/or coordinates from it. It's in cvs in 
> current/src/preferences/Keymap I believe.
> 
> Sandor Vroemisse
> 
> 
> 


-- 



Other related posts: