<?xml version="1.0" encoding="UTF-8"?>
<!--
  Note: conformsTo= references a previous release here,
  because this keyboard does not depend on schema or data from later CLDR versions.
-->
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="pt-t-k0-abnt2" conformsTo="45">
	<locales>
		<locale id="pt" />
	</locales>
	<version number="0.0.0" />
	<info name="Portuguese (Brazil) (ABNT2)" />
	<displays>
		<display output="\m{acute}"  display="´"/>
		<display output="\m{grave}"  display="`"/>
		<display output="\m{umlaut}" display="¨"/>
		<display output="\m{caret}"  display="^"/>
		<display output="\m{tilde}"  display="~"/>
	</displays>

	<keys>
		<import base="cldr" path="45/keys-Zyyy-punctuation.xml" />
		<import base="cldr" path="45/keys-Zyyy-currency.xml" />

		<!-- TODO: using the proposed deadkey format -->
		<key id="d-acute"  output="\m{acute}"/>
		<key id="d-grave"  output="\m{grave}"/>
		<key id="d-umlaut" output="\m{umlaut}"/>
		<key id="d-caret"  output="\m{caret}"/>
		<key id="d-tilde"  output="\m{tilde}"/>

		<key id="c-cedilla"         output="ç" />
		<key id="C-cedilla"         output="Ç" />

		<key id="super-1"           output="¹" />
		<key id="super-2"           output="²" />
		<key id="super-3"           output="³" />
		<key id="ordinal-feminine"  output="ª" />
		<key id="ordinal-masculine" output="º" />
	</keys>
	<layers formId="abnt2">
		<layer modifiers="none">
			<row keys="apos 1 2 3 4 5 6 7 8 9 0 hyphen equal" />
			<row keys="q w e r t y u i o p d-acute open-square" />
			<row keys="a s d f g h j k l c-cedilla d-tilde close-square" />
			<row keys="backslash z x c v b n m comma period semi-colon slash" />
			<row keys="space"/>
		</layer>
		<layer modifiers="shift">
			<row keys="double-quote bang at hash dollar percent d-umlaut amp asterisk open-paren close-paren underscore plus" />
			<row keys="Q W E R T Y U I O P d-grave open-curly" />
			<row keys="A S D F G H J K L C-cedilla d-caret close-curly" />
			<row keys="pipe Z X C V B N M open-angle close-angle colon question" />
			<row keys="space"/>
		</layer>
		<layer modifiers="altR">
			<row keys="gap super-1 super-2 super-3 pound cent not gap gap gap gap gap section" />
			<row keys="slash question degree gap gap gap gap gap gap gap gap ordinal-feminine" />
			<row keys="gap gap gap gap gap gap gap gap gap gap gap ordinal-masculine" />
			<row keys="gap gap gap cruzeiro gap gap gap gap gap gap gap degree" />
			<row keys="space"/>
		</layer>
	</layers>

	<!-- TODO: transform! -->
</keyboard3>
