Session 2: Adding Dagbani Special Characters
Objective:
Students will modify their keyboard layout to include Dagbani-specific characters.
1. Review & Quick Recap (10 min)
- Open Keyman Developer and review the previous session's work.
2. Modifying the Keyboard Layout (30 min)
- Open Keyman Developer and load
DagbaniTutorial.kpj
. - Click Keyboards, then select
dagbanitutorial.kmn
. - Click Layout.
- Modify key outputs for Dagbani special characters:
-
ɛ (open e)
-
ɔ (open o)
-
ŋ (eng)
-
ɣ (gamma)
-
ʒ (ezh)
-
- Use Character Map to insert Unicode values.
- Save changes.
3. Adding Rules for Special Characters (10 min)
- Click the Code tab.
- Add the following rules:
begin Unicode > use(main) store(basekey) "eongzEONGZ" store(output_char) "ɛɔŋɣʒƐƆŊƔƷ" group(main) using keys ";" + any(basekey) > index(output_char,2)
- Save changes.
4. Testing and Debugging (10 min)
- Compile the keyboard (Keyboard > Compile Keyboard or press F7).
- Test changes using Test Keyboard.
- Verify the correct output for Dagbani special characters.
- Fix errors if needed.