Skip to content

Commit

Permalink
45key-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MOldtime committed Dec 1, 2024
1 parent b927288 commit 77e8c71
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nix-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 46key-layout
name: 45key-layout

on:
pull_request:
push:
branches: [46key-layout]
branches: [45key-layout]

jobs:
develop:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: 46key
automatic_release_tag: 45key
prerelease: true
title: ${{ github.ref_name }} Release
files: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,15 @@ class TextKeyboard(
AlphabetKeyNew("O", "["),
AlphabetKeyNew("P", "]")
), listOf(
AlphabetKeyNew("A", "\\", percentWidth = 0.095f),
AlphabetKeyNew("S", "|", percentWidth = 0.095f),
AlphabetKeyNew("D", "×", percentWidth = 0.095f),
AlphabetKeyNew("F", "÷", percentWidth = 0.095f),
AlphabetKeyNew("G", "", percentWidth = 0.095f),
AlphabetKeyNew("H", "", percentWidth = 0.095f),
AlphabetKeyNew("J", formContext[7].component1(), percentWidth = 0.095f),
AlphabetKeyNew("K", formContext[8].component1(), percentWidth = 0.095f),
AlphabetKeyNew("A", "\\"),
AlphabetKeyNew("S", "|"),
AlphabetKeyNew("D", "×"),
AlphabetKeyNew("F", "÷"),
AlphabetKeyNew("G", ""),
AlphabetKeyNew("H", ""),
AlphabetKeyNew("J", "<"),
AlphabetKeyNew("K", ">"),
AlphabetKeyNew("L", formContext[9].component1(), percentWidth = 0.095f),
AlphabetKeyNew(
";",
":",
percentWidth = 0.095f,
behavior = setOf(
Behavior.Press(KeyAction.FcitxKeyAction(";")),
Behavior.Swipe(KeyAction.FcitxKeyAction(":"))
)
),
), listOf(
CapsKey(),
AlphabetKeyNew("Z", formContext[0].component1()),
Expand All @@ -103,10 +94,10 @@ class TextKeyboard(
)),
// @formatter:on
LanguageKey(),
AlphabetKey("/", "?"),
AlphabetKey(",", "<"),
AlphabetKey(".", "?"),
AlphabetKey(",", "/"),
SpaceKey(),
AlphabetKey(".", ">"),
AlphabetKey(";", ":"),
AlphabetKey("'", "\""),
ReturnKey()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ val PopupPreset: Map<String, Array<String>> = hashMapOf(
"f" to arrayOf("÷", "f", "F"),
"g" to arrayOf("", "g", "G", "ğ"),
"h" to arrayOf("", "h", "H"),
"j" to arrayOf(formContext[7].component1(), "j", "J"),
"k" to arrayOf(formContext[8].component1(), "k", "K"),
"j" to arrayOf("<", "j", "J"),
"k" to arrayOf(">", "k", "K"),
"l" to arrayOf(formContext[9].component1(), "/", "l", "L", "ł"),
";" to arrayOf(":"),
"z" to arrayOf(formContext[0].component1(), "Z", "z", "ž", "ź", "ż"),
"x" to arrayOf(formContext[1].component1(), "X", "x", "×"),
"c" to arrayOf(formContext[2].component1(), "C", "c", "ç", "ć", "č"),
Expand Down Expand Up @@ -89,7 +88,6 @@ val PopupPreset: Map<String, Array<String>> = hashMapOf(
"J" to arrayOf("", "j", "J"),
"K" to arrayOf("↓️️", "k", "K"),
"L" to arrayOf("/", "l", "L", "ł"),
";" to arrayOf(":"),
"Z" to arrayOf("z", "Z", "`", "Ž", "Ź", "Ż"),
"X" to arrayOf("x", "X"),
"C" to arrayOf("c", "C", "Ç", "Ć", "Č"),
Expand Down Expand Up @@ -164,11 +162,11 @@ val PopupPreset: Map<String, Array<String>> = hashMapOf(
//
// Punctuation
//
"," to arrayOf("<", "", "?", "!", ":", ";", "_", "%", "$", "^", "&"),
"," to arrayOf("/", "?", "!", ":", ";", "_", "%", "$", "^", "&"),
"'" to arrayOf("\""),
"." to arrayOf(">", "", ",", "!", ":", ";", "_", "%", "$", "^", "&"),
"." to arrayOf("?" ,"¿", "", ",", "!", ":", ";", "_", "%", "$", "^", "&"),
"-" to arrayOf("", "", "·"),
"?" to arrayOf("¿", ""),
"?" to arrayOf(),
"'" to arrayOf("\"", "", "", "", "", ""),
"!" to arrayOf("¡"),
"\"" to arrayOf("", "", "", "»", "«"),
Expand All @@ -181,6 +179,7 @@ val PopupPreset: Map<String, Array<String>> = hashMapOf(
"=" to arrayOf("", "", ""),
">" to arrayOf("", "»", "", ""),
"°" to arrayOf("", "", ""),
";" to arrayOf(":"),
//
// Currency
//
Expand Down

0 comments on commit 77e8c71

Please sign in to comment.