I’m working on a project where I have to do a lot of copy/pasting, and I’m getting tired of pressing ctrl-c and ctrl-v all the time.
So I’m wondering if there’s a way to make an external copy button/paste button using an arduino or another simple USB interface.
I find this video from “Make Magazine” to be very helpful http://www.youtube.com/watch?v=eYRa3ClXP-w , but can you pass a command button such as ‘ctrl’ as a string ?
Your expertise and answers are much appreciated! Thanks!
Well, you don’t need to send it as a string, you just need to send it as the proper hex code. In the weatherboard code, it specifically looks for a ctrl z command { if (Serial.read() == 0x1A) } to enter the menu, so shooting back the proper code should be the same thing.
http://academic.evergreen.edu/projects/ … i_ctrl.htm
I think the Arduino would need to show up as a keyboard or HID device or the ctrl c / v are only ever going to make it to your serial port however. That may cause more fits.