Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #6002

Keyboard layout/character set question

From Colin Leroy-Mira <colin@colino.net>
Newsgroups comp.sys.apple2.programmer
Subject Keyboard layout/character set question
Date 2023-01-20 09:03 +0100
Organization A noiseless patient Spider
Message-ID <20230120090302.0a08a296@SGX-CMP-480> (permalink)

Show all headers | View raw


Hi,

I have a french Apple 2c, with a french keyboard and a toggle button
that allows to switch the keyboard layout from french to US. The button
has two effects. It switches characters codes for standard ASCII
characters (ie, 'a' becomes 'q' and vice-versa), but for "extended"
characters, the code is not changed, only the display is. 
For example, if I hit 'é' while in french mode, it's going to display as
'é'. If I toggle the keyboard to US when an 'é' is displayed on-screen,
the display of this character changes and becomes an '{'. (this is
quite funny, but a bit impractical).

I'd like to programmaticaly know which mode the keyboard is in, but I
can't find anything related in PEEKs and POKEs or anything. Does anyone
know if this is possible ?

Thanks!
-- 
Colin
https://www.colino.net/

Back to comp.sys.apple2.programmer | Previous | NextNext in thread | Find similar


Thread

Keyboard layout/character set question Colin Leroy-Mira <colin@colino.net> - 2023-01-20 09:03 +0100
  Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-20 20:24 -0800
    Re: Keyboard layout/character set question Colin Leroy-Mira <colin@colino.net> - 2023-01-24 11:36 +0100
      Re: Keyboard layout/character set question fadden <fadden@fadden.com> - 2023-01-24 07:40 -0800
        Re: Keyboard layout/character set question Antoine Vignau <ntn.vignau@gmail.com> - 2023-01-24 12:27 -0800
    Re: Keyboard layout/character set question Michael J. Mahon <mjmahon@aol.com> - 2023-01-24 22:50 +0000
      Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-25 04:28 -0800
        Re: Keyboard layout/character set question qkumba <peter.ferrie@gmail.com> - 2023-01-25 10:59 -0800
          Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-25 12:26 -0800
          Re: Keyboard layout/character set question Andrew Roughan <no_email@invalid.invalid> - 2023-01-30 11:29 +0000
            Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-30 13:15 -0800

csiph-web