bmc64 icon indicating copy to clipboard operation
bmc64 copied to clipboard

mapping for French keyboard

Open jmmparis opened this issue 1 year ago • 2 comments

Hello, BMC64 was a fabulous emulator, thanks a lot for make and share it. I'm trying to map a french keyboard (symbol mapping) and the # key need the use of ALT-GR + 3 , is somebody has an idear to do it ? I'm also looking for all the scancodes names, where can I find them ?

thx a lot

jmmparis avatar Sep 30 '23 17:09 jmmparis

You could map Alt_R to 6 4 4 which would make it a right shift key. Then the combo would be equivalent to Shift + 3 which is #.

On Sat, Sep 30, 2023 at 1:25 PM jmmparis @.***> wrote:

Hello, BMC64 was a fabulous emulator, thanks a lot for make and share it. I'm trying to map a french keyboard (symbol mapping) and the # key need the use of ALT-GR + 3 , is somebody has an idear to do it ? I'm also looking for all the scancodes names, where can I find them ?

thx a lot

— Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKGDWPAON6SEXORDC2DX5BIY3ANCNFSM6AAAAAA5NWACMM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Randy Rossi

  • "There are only two things that are hard about computer science; Naming things, Cache Invalidation, and Off-by-one errors."

randyrossi avatar Oct 01 '23 12:10 randyrossi

Thanks for your answer Radyrossi, but Shift + 3 is already used, there is 3 mapping for the '3' key on french keyboard (we don't like to keep it simple ;) ) 3 --> " Shift + 3 --> 3 Alt_Gr +3 --> # (and also with '5' key : '5' -> (, shift +5 -> 5, Alt_Gr +5 -> [ ) at first I just thought to use left shift and right shift with the shiftflag but I don't know if we can declare a key more than twice. I see the shifflag =2 for left shift and 4 for the right shift but it doesn't seem intended to the keyboard detection. I look in the last version of Vice emulation and they add the Alt_GR in the shiftflag keyboard mapping, perhaps it's to support keyboards like french

jmmparis avatar Oct 01 '23 13:10 jmmparis