An open API service indexing awesome lists of open source software.

https://github.com/invaderzim85/inputcounter

Tool to track your input activity (keyboard / mouse)
https://github.com/invaderzim85/inputcounter

csharp efcore globalhook hooks keyboard keyboardhook mahapps mouse mousehook mvvm net7 sqlite wpf

Last synced: 2 months ago
JSON representation

Tool to track your input activity (keyboard / mouse)

Awesome Lists containing this project

README

          

# InputCounter

[![Releases](https://img.shields.io/github/v/release/InvaderZim85/InputCounter)](https://github.com/InvaderZim85/InputCounter/releases/latest)
[![License](https://img.shields.io/github/license/InvaderZim85/InputCounter)](https://github.com/InvaderZim85/InputCounter/blob/main/LICENSE)
![Version](https://img.shields.io/badge/.NET%20Version-.NET%207.0-green)

This is a small program which counts the keyboard strokes and the mouse clicks (left and right button).

This program is a new version of [KeyCount](https://github.com/InvaderZim85/KeyCount)

## Where is the data stored (aka Security / Keyboard-Sniffer)

The data is stored locally in an SQLite database (`InputCountDatabase.db`). The data is only used locally on the computer and is not transferred.

If you want to look at the data, you can use the free program [DB Browser](https://sqlitebrowser.org).

## How does it work?

The tool uses a low level keyboard and mouse hook to detect an action. So it can maybe possible that your anti virus tool will alert you.

I use Windows Defender and have had no problems so far

## Example

**Main window**

![MainWindow](images/main.png)

**Data window**

![DataWindow](images/details_001.png)

![DataWindow](images/details_002.png)

![DataWindow](images/details_003.png)

## Import data from KeyCount

If you've used the old [KeyCount](https://github.com/InvaderZim85/KeyCount) tool you can import your old data. There are two possible ways:

1. Manual: Use the DB Browser
2. Automatically: Use the *KeyCountImporter*

With the manual process you've more flexibility in what you want to import. The automatically process is easier.

### Automatic process

To use the automatic process, you've to do the following:

1. Navigate with powershell, cmd or windows terminal into the directory which contains the *KeyCountImporter* exe (*tools* directory)
2. Start the program with the following parameters:
- `-s` / `--source` [Path of the KeyCount database]
- `-t` / `--target` [Path of the InputCounter database]
- `-o` / `--override` Add this switch to override the existing values. If you don't add this value, the values of the KeyCount will be added to the values of the InputCounter
- `v` / `--verbose` Add this switch to create a verbose log
3. Done

Here is a small example:

```powershell
KeyCountImport.exe -s D:\Test\KeyCountDatabase.db -t D:\Test\InputCountDatabase.db -o -v
```