<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/8220" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-01-13T01:41:09+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/8220</id>

		<entry>
		<author><name><![CDATA[imagiro1]]></name></author>
		<updated>2013-01-13T01:41:09+02:00</updated>

		<published>2013-01-13T01:41:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8220&amp;p=24532#p24532</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8220&amp;p=24532#p24532"/>
		<title type="html"><![CDATA[Modifier key and multiple letters]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8220&amp;p=24532#p24532"><![CDATA[
I have built the a circuit and compiled a simple keyboard code on an ATmega168. I have two questions.<br />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.<br /><div class="codebox"><p>Code: </p><pre><code>case '@':<br />            keyboard_report.modifier = _BV(1); // hold shift<br />            keyboard_report.keycode&#91;0&#93; = 29 + 2;<br />            break;</code></pre></div><br />What would I put instead of the @ and where do I find the equivalent of &quot;hold shift&quot;<br />2. Is it possible to send a string? The example I am working with only sends one letter at a time. I could put the chars in an array, but I was hoping I could use a string. Is there an example for this?<br /><br />Thanks in advance.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19457">imagiro1</a> — Sun Jan 13, 2013 1:41 am</p><hr />
]]></content>
	</entry>
	</feed>
