Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** This method returns the current activation status of high touch sensitivity
- *
- * @return boolean Must be false if high touch sensitivity is not supported or not activated,
- * or the operation failed while reading the status; true in any other case.
- */
- public static boolean isEnabled() {
- return (GLOVE_MODE_ENABLE + STATUS_OK).equals(FileUtils.readOneLine(COMMAND_RESULT_PATH));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement