ternary operator refactoring
Merge branch 'master' of https://github.com/ulpmori/mouse