S
S
Selsh2016-10-18 20:59:33
Iron
Selsh, 2016-10-18 20:59:33

How to make a hardware button so that it can recognize windows?

I want to give a gift to a programming teacher. The point is this. You need to make a hardware button and write an application for this button under windows, so that you can write some kind of action in the system when you press it. What do you need to know for this? I plan to print the button on a 3D printer, and order the finished microcircuit on aliexpress, if there are any.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Val, 2016-10-18
@Selsh

There is such a Teensy thing. It is on Aliexpress.
And here is a guide on how to make a one-button unit .

R
Rou1997, 2016-10-18
@Rou1997

If a PC with a COM port, then the easiest, otherwise USB, in which case the simplest Arduino, you need to be able to program for it, but you can get by with a microcontroller, the rest is more elegant, but more difficult.
Or like Click Quick Button, but I don't know if it will work on a computer.
Do you want a button like this? She turns off the computer, and cross-platform, what kind of teacher - such a gift :)
b1a553f3cc6948ecad213dff37e8f107.png

A
Alexander Karabanov, 2016-10-18
@karabanov

Make from an old USB keyboard.

I
ipswitch, 2016-10-19
@ipswitch

Do you want yourself? Learn how USB HID Class works. The best solution IMHO.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question