Skip to content

Commit

Permalink
- Add case "uýt".
Browse files Browse the repository at this point in the history
- Improve typing English in Vietnamese mode.
* Update version 1.0.14
  • Loading branch information
tuyenvm committed Apr 9, 2019
1 parent 5da4a46 commit 6bbdee0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# OpenKey Change Log

##### Version 1.1: (Under construction)
##### Version 1.1: (in plan)
- Quick Telex: cc=ch, gg=gi, kk=kh, nn=ng, qq=qu, pp=ph, tt=th (On/Off)
- Macro (On/Off).
- Macro table.

##### Version 1.0.14: (09/04/2019)
- Add case "uýt".
- Improve typing English in Vietnamese mode.

##### Version 1.0.11: (27/02/2019)
- Add case "chú thòong", "gòong".

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Bộ gõ tiếng Việt mới cho macOS, sử dụng kỹ thuật backkey. Loạ
- ...

### Download Binary - Tải xuống:
v1.0.11: [macOS](https://github.com/tuyenvm/OpenKey/raw/master/Release/OpenKey1.0.11.dmg)
v1.0.14: [macOS](https://github.com/tuyenvm/OpenKey/raw/master/Release/OpenKey1.0.14.dmg)

[Changelog](https://github.com/tuyenvm/OpenKey/blob/master/CHANGELOG.md)

Expand Down
Binary file modified Release/OpenKey1.0.11.dmg
Binary file not shown.
Binary file added Release/OpenKey1.0.14.dmg
Binary file not shown.
7 changes: 5 additions & 2 deletions Sources/OpenKey/engine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ void checkCorrectVowel(vector<vector<Uint16>>& charset, int& i, int& k, const Ui
if (isCorect && charset[i].size() > 1 && (IS_KEY_F(markKey) || IS_KEY_X(markKey) || IS_KEY_R(markKey))) {
if (charset[i][1] == KEY_C || charset[i][1] == KEY_T) {
isCorect = false;
} else if (charset[i].size() > 2 && (charset[i][2] == KEY_T)) {
isCorect = false;
}
}

Expand Down Expand Up @@ -496,7 +498,7 @@ void insertMark(const Uint32& markMask, const bool& canModifyFlag) {
TypingWord[ii] &= ~MARK_MASK;
hData[kk--] = GET(TypingWord[ii]);
}
_index = 0;
//_index = 0;
tempDisableKey = true;
} else {
//remove other mark
Expand Down Expand Up @@ -931,7 +933,8 @@ void vKeyHandleEvent(const vKeyEvent& event,
}
}

//Debug
//cout<<(int)_index<<endl;
//cout<<(int)hBPC<<endl;
//cout<<(int)hNCC<<endl;
//cout<<(int)hNCC<<endl<<endl;
}
1 change: 1 addition & 0 deletions Sources/OpenKey/engine/Vietnamese.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ map<Uint16, vector<vector<Uint16>>> _vowelForMark = {
{ KEY_U, KEY_O},
{ KEY_U, KEY_Y},
{ KEY_U, KEY_Y, KEY_N},
{ KEY_U, KEY_Y, KEY_T},
{ KEY_U, KEY_Y, KEY_N, KEY_H},
{ KEY_U, KEY_T},
{ KEY_U, KEY_U},
Expand Down
2 changes: 1 addition & 1 deletion Sources/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenKey
### Open source Vietnamese Input App for macOS
Check out source for macOS.
Check out source for macOS and engine.
Windows version will be available soon.

0 comments on commit 6bbdee0

Please sign in to comment.