giellalt / keyboard-apu

Keyboards for the Apurinã language
https://giellalt.github.io/keyboard-apu
MIT License
0 stars 0 forks source link

Mapping problem in keyboard-apu from 48-key to Brazilian 47-key layout #1

Open rueter opened 8 months ago

rueter commented 8 months ago

The Apurinã keyboard should have tilde combinations for all vowels and a modifier letter apostrophe to mark glottal stop. In addition we want circumflex, grave, acute and diaereses.

This äëïöüÿ ãẽĩõũỹ àèìòùỳ áéíóúý works on my M2, Sonoma 14.3.1 in Finland, but it does not quite map to the Brazilian Mac Air used by Sidney Facundes, hence a distinction in the names apu_FI and apu_BR. Note, for example, that the FI-board shows both sides of the square brackets in the QWERTY row, but the BR-board moves the right-hand bracket to the beginning of the next line. Please, ask for additional information.

apu_BR_Divvun_default apu_BR_Divvun_shift apu_BR_Divvun_alt_shift apu_BR_Divvun_alt

apu_FI_Divvun_default apu_FI_Divvun_shift apu_FI_Divvun_alt apu_FI_Divvun_alt_shift
rueter commented 8 months ago

The por_BR board looks like this: por_BR_default por_BR_shift por_BR_alt_shift por_BR_alt

snomos commented 7 months ago

I edited the layout file to be identical to Apple's Brasilian Portuguese, as it appears on my computer, using an ISO keyboard.

Cf https://github.com/giellalt/keyboard-apu/commit/190b7bcb0d2988daff1d31e2ae1bdac3f3da1094

It should produce all the accented vowels you desire, although the deadkeys are in different positions.

I did this for two reasons:

Do NOT change any deadkeys or anything else, just build this new version, and give it to Sidney, and ask him to take screen shots so that we can compare.

rueter commented 7 months ago

Now, there is only one difference observed in the layout. On the por_BR keyboard tilde requires +shift ( see below). Otherwise, the keyboard looks right and seems to work right.

apu_Divvun_01_default apu_Divvun_02_shift apu_Divvun_03_alt apu_Divvun_04_alt_shift apu_Divvun_05_comb_view por_BR_shift_for_tilde

snomos commented 7 months ago

Now, there is only one difference observed in the layout. On the por_BR keyboard tilde requires +shift ( see below). Otherwise, the keyboard looks right and seems to work right.

This is how it is on the Apple Brazilian keyboard. I want it to be identical with that one, and make sure it works everywhere the correct way before we start to change anything. And from the screen shots, it does not look like shift is required to get tilde.

On the other hand, it seems that the screen shots are not from the latest version that I pushed to GitHub, it contains deadkeys that I removed. Could you make sure that the version of the keyboard package is 0.1.1, not 0.1.0?

Whose computer are the screen shots from? It seems to be a Mac with an ANSI keyboard?

rueter commented 7 months ago

These pictures all come from Sidney's Mac Air. Sidney says the shift for Tilde is standard.

rueter commented 7 months ago

Unable to generate macos version on own mac. Have removed and reinstalled giellalt, and cloned Still get:

"/Users/jackrueter/Dropbox/Github/giellalt/keyboard-apu/apu.kbdgen"
thread 'main' panicked at src/build/macos/generate_macos.rs:486:25:
dead key `"` in target list but not the transforms.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:604: mac] Error 101

Maybe you haven't pushed everything onto Github. see also:

Github Bot: Check [Build keyboard: macos-latest - keyboard-apu](https://github.com/giellalt/keyboard-apu/runs/22033224856) completed (failure). ([b8aacd210c4](https://github.com/giellalt/keyboard-apu/commit/b8aacd210c4f77c029493e77e9ca933eab91cf9a))

Github Bot: Check [Build keyboard: windows-latest - keyboard-apu](https://github.com/giellalt/keyboard-apu/runs/22033225532) completed (failure). ([b8aacd210c4](https://github.com/giellalt/keyboard-apu/commit/b8aacd210c4f77c029493e77e9ca933eab91cf9a))

both have failed, with no push since

snomos commented 7 months ago

Unable to generate macos version on own mac.

Sorry, my bad. I have fixed it, and also replaced the Sámi flag with the UN flag. New version is 0.1.2, and it has already built successfully for Mac, and is available in Divvun Manager.