I made my own handbrake (prototype) for a fraction of the cost that retailers dare to ask. It's based on an aluminium hydraulic handbrake from China and uses a Hall-Sensor and a neodymium magnet to detect the motion of the handle. The Hall-Sensor is wired to a Pro Micro (Arduino) board which is used to connect to a PC. A microphone stand clamp is used to clamp the handbrake to my desk. I made a very short video demonstrating the features of this prototype: It's still a prototype and needs some improvements. For instance, the Hall-Sensor is only digital and simply outputs LOW or HIGH when in a certain proximity of a magnet. To create an analog handbrake, you would need a ratiometric Hall-Sensor that outputs the strength of the magnetic field as value between 0 and 5V. Due to the design of the handbrake, the pivot point is not ideal for my setup and I had to improperly mount the handle. No big deal in this application, but it looks sloppy. The spring I added was an old G27 gaspedal spring I had laying around. This proved to be too weak so I had to add some rubber bands to tighten it up. Spec'ing a proper spring is costly so if anyone has some suggestions, let me know! I'll post links to all products used and Arduino code soon.