diff options
author | 2011-09-30 05:46:40 -0700 | |
---|---|---|
committer | 2011-09-30 05:46:40 -0700 | |
commit | 4d21d9362112856ff0bf111e2260dabe3a93636e (patch) | |
tree | 3f7e416782e605f5c614ab5da55a709b1451e96d /native/src/defines.h | |
parent | 6a9c4ab0171710f67981262dc49eed97d458bb06 (diff) | |
parent | da9f556a15e7ff823b8ac5f273f918691b278505 (diff) | |
download | latinime-4d21d9362112856ff0bf111e2260dabe3a93636e.tar.gz latinime-4d21d9362112856ff0bf111e2260dabe3a93636e.tar.xz latinime-4d21d9362112856ff0bf111e2260dabe3a93636e.zip |
am da9f556a: Merge "Classify touches into three types."
* commit 'da9f556a15e7ff823b8ac5f273f918691b278505':
Classify touches into three types.
Diffstat (limited to 'native/src/defines.h')
-rw-r--r-- | native/src/defines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/native/src/defines.h b/native/src/defines.h index 55469a788..6c619d1ab 100644 --- a/native/src/defines.h +++ b/native/src/defines.h @@ -165,6 +165,8 @@ static void dumpWord(const unsigned short* word, const int length) { #define KEYCODE_SPACE ' ' +#define CALIBRATE_SCORE_BY_TOUCH_COORDINATES false + #define SUGGEST_WORDS_WITH_MISSING_CHARACTER true #define SUGGEST_WORDS_WITH_MISSING_SPACE_CHARACTER true #define SUGGEST_WORDS_WITH_EXCESSIVE_CHARACTER true @@ -204,4 +206,7 @@ static void dumpWord(const unsigned short* word, const int length) { #define min(a,b) ((a)<(b)?(a):(b)) #define max(a,b) ((a)>(b)?(a):(b)) +// The ratio of neutral area radius to sweet spot radius. +#define NEUTRAL_AREA_RADIUS_RATIO 1.3f + #endif // LATINIME_DEFINES_H |