MaximKorobov / SMB

SMB - utility for fast swap mouse buttons on Windows OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMB

Utility for fast swap mouse buttons on Windows OS.

About gif image

Motivation

I'm 35 years old. After some time a small pain appear in my right hand's wrist. Sounds similar to Carpal tunnel syndrome.

To solve it I started to use left hand more often in daily activity - rotating my car's wheel, clean up the nose and so on.

Using left hand when working on PC is solution too. Especially if one have universal (symmetrical) mouse.

But this doesn't work when playing games. CS:GO, Tank Force and others were created to play using mouse on a right hand.

So one should change default mouse action button in Windows OS settings few times a day when switch between work and play sessions. To speed up it I wrote SMB utility. Setting could be changed within one click. Simple as it should be.

FAQ

Q: why so small and simple utility has so big (8 megabytes) executable?

A: I know that on pure C++ it's size could be less than 64 kilobytes. That is how Python + pyinstaller work together. Patches are welcome to improve the numbers.

Q: why did you use pure Python without Qt?

A: there are some reasons:

  1. I'm in Moscow, Russian Federation
  2. Russian government started some military actions in February 2022
  3. Since then Qt is not available for Russian IPs
  4. Roskomnadzor (Federal Service for Supervision of Communications, Information Technology and Mass Media of Russia) blocked Windscribe, ProtonVPN and other popular VPN services in Russia
  5. I didn't find option to download Qt SDK using torrents

Q: How to build executable by myself?

A: install pyinstaller, then execute command in system console:

pyinstaller <your project's folder>\SMB\smb.py --onefile --noconsole

Q: what about code license?

A: copyright (C) 2022 Maxim Korobov maxim.korobov@gmail.com. Apache 2.0 license. Do not steal it or I will shoot :D

About

SMB - utility for fast swap mouse buttons on Windows OS

License:Apache License 2.0


Languages

Language:Python 100.0%