Search found 4 matches

by imagiro1
Wed Jan 23, 2013 5:18 am
Forum: V-USB
Topic: Can't send double letters?
Replies: 5
Views: 7180

Re: Can't send double letters?

Thanks Declan. I didn't even think to look at the password generator code. I was using the HID keyboard. I had tried the original code from Frank Zhao's USB business card without success. And now I've figured out why. Linux or Windows running within a VM are not the same thing as Windows. The Linux ...
by imagiro1
Fri Jan 18, 2013 4:17 pm
Forum: V-USB
Topic: Can't send double letters?
Replies: 5
Views: 7180

Re: Can't send double letters?

That delay was put in there to see if maybe I was trying to send too quickly. It was not the case. It looks like the device is disconnecting. I added a light for testing. I had it just come on when it entered the while(1) loop. I couldn't figure out for the life of me why at some point it would turn...
by imagiro1
Fri Jan 18, 2013 4:51 am
Forum: V-USB
Topic: Can't send double letters?
Replies: 5
Views: 7180

Can't send double letters?

Sorta have the string working. I am trying to send a string "http://google.com". But all I get back is htp:/gogle.com. I can't figure out what I'm doing wrong. Thanks. char sendString[] PROGMEM = "http://google.com"; while(1) { PORTC |= (1 << PC4); wdt_reset(); // keep the watchd...
by imagiro1
Sun Jan 13, 2013 1:41 am
Forum: V-USB
Topic: Modifier key and multiple letters
Replies: 0
Views: 4904

Modifier key and multiple letters

I have built the a circuit and compiled a simple keyboard code on an ATmega168. I have two questions. 1. How do I use the modifier keys? For example, I want to send Win+L to lock the screen. Here is part of the code I currently have. case '@': keyboard_report.modifier = _BV(1); // hold shift keyboar...