m_nKillRing += nKillRing;\r
}\r
\r
-// nobody use\r
-int CXkeymacsDll::GetMickey(int nDifferential, int nThreshold1, int nThreshold2, int nAcceleration, int nSpeed)\r
-{\r
- nDifferential = nDifferential * 10 / nSpeed;\r
-\r
- switch (nAcceleration) {\r
- case 2:\r
- if (nThreshold2 < fabs((double)(nDifferential / 4))) {\r
- nDifferential /= 4;\r
- break;\r
- }\r
- // Do NOT write break; here.\r
- case 1:\r
- if (nThreshold1 < fabs((double)(nDifferential / 2))) {\r
- nDifferential /= 2;\r
- }\r
- break;\r
- case 0:\r
- break;\r
- default:\r
- ASSERT(0);\r
- break;\r
- }\r
-\r
- return nDifferential;\r
-}\r
-\r
void CXkeymacsDll::SetSettingStyle(int nApplicationID, int nSettingStyle)\r
{\r
m_Config.nSettingStyle[nApplicationID] = nSettingStyle;\r
static int m_nOriginal[MAX_COMMAND_TYPE][MAX_KEY];\r
static int m_nKillRing;\r
static CList<CClipboardSnap *, CClipboardSnap *> m_oKillRing;\r
- static int GetMickey(int nDifferential, int nThreshold1, int nThreshold2, int nAcceleration, int nSpeed);\r
static BOOL m_bHook;\r
static BOOL m_bRightShift;\r
static BOOL m_bRightAlt;\r