Skip to content

g0ddest/footswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

footswitch

Mini class to work with PCsensor footswitch from C#.

Usage

This class is using LibUsbDotNet. First install it and add device filter. Example of usage:

var footswtich = new FootswitchListener();
 
try
{
     footswtich.StartListen();
 
     footswtich.Press += () => Console.WriteLine("Pressed button");
     footswtich.Release += () => Console.WriteLine("Release button");
 
catch (Exception fe)
{
     Console.WriteLine(fe.Message);
}

Authors

Vitaliy Velikodniy

About

C# class for using PCsensor footswitch (VID: 0x0C45 PID:0x7403)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages