⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pc+

📁 ps/2参考代码
💻
📖 第 1 页 / 共 2 页
字号:
		}
	}
}

function showfont(font) {
 	if (helpstat){
		alert("字体标记\n给文字设置字体.\n用法: [face="+font+"]改变文字字体为"+font+"[/face]");
	} else if (basic) {
		AddTxt="[face="+font+"][/face]";
		AddText(AddTxt);
	} else {                  
		txt=prompt("要设置字体的文字"+font,"文字");
		if (txt!=null) {             
			AddTxt="[face="+font+"]"+txt;
			AddText(AddTxt);
			AddTxt="[/face]";
			AddText(AddTxt);
		}        
	}  
}
function underline() {
  	if (helpstat) {
		alert("下划线标记\n给文字加下划线.\n用法: [u]要加下划线的文字[/u]");
	} else if (basic) {
		AddTxt="[u][/u]";
		AddText(AddTxt);
	} else {  
		txt=prompt("下划线文字.","文字");     
		if (txt!=null) {           
			AddTxt="[u]"+txt;
			AddText(AddTxt);
			AddTxt="[/u]";
			AddText(AddTxt);
		}	        
	}
}
function setfly() {
 	if (helpstat){
		alert("飞翔标记\n使文字飞行.\n用法: [fly]文字为这样文字[/fly]");
	} else if (basic) {
		AddTxt="[fly][/fly]";
		AddText(AddTxt);
	} else {                  
		txt=prompt("飞翔文字","文字");
		if (txt!=null) {             
			AddTxt="[fly]"+txt;
			AddText(AddTxt);
			AddTxt="[/fly]";
			AddText(AddTxt);
		}        
	}  
}

function move() {
	if (helpstat) {
		alert("移动标记\n使文字产生移动效果.\n用法: [move]要产生移动效果的文字[/move]");
	} else if (basic) {
		AddTxt="[move][/move]";
		AddText(AddTxt);
	} else {  
		txt=prompt("要产生移动效果的文字","文字");     
		if (txt!=null) {           
			AddTxt="[move]"+txt;
			AddText(AddTxt);
			AddTxt="[/move]";
			AddText(AddTxt);
		}       
	}
}

function shadow() {
	if (helpstat) {
               alert("阴影标记\n使文字产生阴影效果.\n用法: [SHADOW=宽度, 颜色, 边界]要产生阴影效果的文字[/SHADOW]");
	} else if (basic) {
		AddTxt="[SHADOW=255,blue,1][/SHADOW]";
		AddText(AddTxt);
	} else { 
		txt2=prompt("文字的长度、颜色和边界大小","255,blue,1"); 
		if (txt2!=null) {
			txt=prompt("要产生阴影效果的文字","文字");
			if (txt!=null) {
				if (txt2=="") {
					AddTxt="[SHADOW=255, blue, 1]"+txt;
					AddText(AddTxt);
					AddTxt="[/SHADOW]";
					AddText(AddTxt);
				} else {
					AddTxt="[SHADOW="+txt2+"]"+txt;
					AddText(AddTxt);
					AddTxt="[/SHADOW]";
					AddText(AddTxt);
				}         
			} 
		}
	}
}

function glow() {
	if (helpstat) {
		alert("光晕标记\n使文字产生光晕效果.\n用法: [GLOW=宽度, 颜色, 边界]要产生光晕效果的文字[/GLOW]");
	} else if (basic) {
		AddTxt="[glow=255,red,2][/glow]";
		AddText(AddTxt);
	} else { 
		txt2=prompt("文字的长度、颜色和边界大小","255,red,2"); 
		if (txt2!=null) {
			txt=prompt("要产生光晕效果的文字.","文字");      
			if (txt!=null) {
				if (txt2=="") {
					AddTxt="[glow=255,red,2]"+txt;
					AddText(AddTxt);
					AddTxt="[/glow]";
					AddText(AddTxt);
				} else {
					AddTxt="[glow="+txt2+"]"+txt;
					AddText(AddTxt);
					AddTxt="[/glow]";
					AddText(AddTxt);
				}         
			} 
		}
	}
}
function openscriphtml()
{
if (navigator.appName!="Microsoft Internet Explorer")
   alert("此功能 Netscape 用户不能使用!")
else
   {newwin=window.open('htmledit/editor.html','','width=544,height=294');
    newwin.focus();
   }
}
function runEx(){
//alert('请注意,按下确定将生成页面,按下后请稍后....');
var winEx = window.open("", "winEx", "width=600,height=400,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace"); 
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value)); 
winEx.document.close(); 
}
function openScript(url, width, height) {
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );
}
</SCRIPT>

<SCRIPT language=Javascript>
<!-- hide

function insertsmilie(smilieface){

	document.frmAnnounce.body.value+=smilieface;
}
// -->
</SCRIPT>

<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=单片机,单片机坐标 name=keywords>
<META content=单片机,单片机坐标 name=description>
<META content=单片机,单片机坐标 name=Author><LINK href="PC机按通与ASCII照表.files/style.css" 
rel=stylesheet></HEAD>
<BODY leftMargin=0 background=PC机按通与ASCII照表.files/bg01.gif topMargin=0><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=border cellSpacing=0 cellPadding=4 width="100%" border=0>
        <TBODY>
        <TR>
          <TD class=title colSpan=2>|&nbsp;<A 
            href="http://www.mcuzb.com/article/index.ASP?classid=9"> <FONT 
            color=red>单片机坐标</FONT> </A>| </TD></TR>
        <TR>
          <TD class=title2 colSpan=2>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD width=*>|&nbsp;<A 
                  href="http://www.mcuzb.com/article/article.ASP?classid=9">单片机坐标</A> 
                  &gt;&gt; <A 
                  href="http://www.mcuzb.com/article/article.ASP?classid=9&amp;Nclassid=14">芯片驱动</A> 
                  &gt;&gt; PC机键盘按键通码与ASCII对照表 </TD>
                <TD width=50><IMG src="PC机按通与ASCII照表.files/printpage.gif" 
                  align=absMiddle> <A 
                  href="http://www.mcuzb.com/article/printpage.asp?id=223" 
                  target=_blank>打印</A></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD colSpan=2>
            <CENTER><B><FONT size=3>PC机键盘按键通码与ASCII对照表</FONT></B><BR><BR><FONT 
            face=Verdana>www.mcuzb.com</FONT>&nbsp;&nbsp;2003-5-28&nbsp;&nbsp;单片机坐标</CENTER>
            <P>
            <BLOCKQUOTE><BR><FONT class=b1>这个库要配合本站发部的 单片机驱动标准pc机键盘的c51程序 
              使用&lt;/P&gt;&lt;P&gt;unsigned char code noshift[80][2]=<BR>{<BR>22 
              ,49,// { 1 }<BR>30 ,50,// { 2 }<BR>38 ,51,// { 3 }<BR>37 ,52,// { 
              4 }<BR>46 ,53,// { 5 }<BR>54 ,54,// { 6 }<BR>61 ,55,// { 7 }<BR>62 
              ,56,// { 8 }<BR>70 ,57,// { 9 }<BR>69 ,48,// { 0 }<BR>28 ,97,// { 
              a }<BR>50 ,98,// { b }<BR>33 ,99,// { c }<BR>35 ,100,// { d 
              }<BR>36 ,101,// { e }<BR>43 ,102,// { f }<BR>52 ,103,// { g 
              }<BR>51 ,104,// { h }<BR>67 ,105,// { i }<BR>59 ,106,// { j 
              }<BR>66 ,107,// { k }<BR>75 ,108,// { l }<BR>58 ,109,// { m 
              }<BR>49 ,110,// { n }<BR>68 ,111,// { o }<BR>77 ,112,// { p 
              }<BR>21 ,113,// { q }<BR>45 ,114,// { r }<BR>27 ,115,// { s 
              }<BR>44 ,116,// { t }<BR>60 ,117,// { u }<BR>42 ,118,// { v 
              }<BR>29 ,119,// { w }<BR>34 ,120,// { x }<BR>53 ,121,// { y 
              }<BR>26 ,122,// { z }<BR>84 ,91,// { [ }<BR>91 ,93,// { ] }<BR>76 
              ,59,// { ; }<BR>82 ,39,// { ' }<BR>65 ,44,// { , }<BR>73 ,46,// { 
              . }<BR>74 ,47,// { / }<BR>78 ,45,// { - }<BR>85 ,61,// { = }<BR>93 
              ,92,// { \ }<BR>14 ,96,// { ` }<BR>90 ,32,// { enter }<BR>5 , 0,// 
              { f1 }<BR>6 , 1,// { f2 }<BR>4 , 2,// { f3 }<BR>12 , 3,// { f4 
              }<BR>3 , 4,// { f5 }<BR>11 , 5,// { f6 }<BR>131, 6,// { f7 }<BR>10 
              , 7,// { f8 }<BR>1 , 8,// { f9 }<BR>9 , 9,// { f10 }<BR>120,10,// 
              { f11 }<BR>7 ,11,// { f12 }<BR>102,12,// { back }<BR>224,13,// { 
              home }<BR>105,14,// { end }<BR>125,15,// { pageup }<BR>122,16,// { 
              pagedown }<BR>117,17,// { up }<BR>114,18,// { down }<BR>107,19,// 
              { left }<BR>116,20,// { right }<BR>113,21,// { del }<BR>112,22,// 
              { insert }<BR>225,23,// { pause }<BR>118,24,// { esc }<BR>13 
              ,25,// { tab }<BR>88 ,26,// { caps }<BR>20 ,27,// { ctrl }<BR>17 
              ,28,// { alt }<BR>41 ,29,// { space }<BR>31 ,30,// { win }<BR>47 
              ,31,// { winright }<BR>};&lt;/P&gt;&lt;P&gt;unsigned char code 
              addshift[47][2]=<BR>{<BR>14,126, // { ~ }<BR>22, 33, // { ! 
              }<BR>30, 64, // { @ }<BR>38, 35, // { # }<BR>37, 36, // { $ 
              }<BR>46, 37, // { % }<BR>54, 94, // { ^ }<BR>61, 38, // { &amp; 
              }<BR>62, 42, // { * }<BR>70, 40, // { ( }<BR>69, 41, // { ) 
              }<BR>78, 95, // { _ }<BR>85, 43, // { + }<BR>93,124, // { | 
              }<BR>84,123, // { { }<BR>91,125, // { } }<BR>76, 58, // { : 
              }<BR>82, 34, // { " }<BR>65, 60, // { &lt; }<BR>73, 62, // { &gt; 
              }<BR>74, 63, // { ? }<BR>28 ,65,// { a }<BR>50 ,66,// { b }<BR>33 
              ,67,// { c }<BR>35 ,68,// { d }<BR>36 ,69,// { e }<BR>43 ,70,// { 
              f }<BR>52 ,71,// { g }<BR>51 ,72,// { h }<BR>67 ,73,// { i }<BR>59 
              ,74,// { j }<BR>66 ,75,// { k }<BR>75 ,76,// { l }<BR>58 ,77,// { 
              m }<BR>49 ,78,// { n }<BR>68 ,79,// { o }<BR>77 ,80,// { p }<BR>21 
              ,81,// { q }<BR>45 ,82,// { r }<BR>27 ,83,// { s }<BR>44 ,84,// { 
              t }<BR>60 ,85,// { u }<BR>42 ,86,// { v }<BR>29 ,87,// { w }<BR>34 
              ,88,// { x }<BR>53 ,89,// { y }<BR>26 ,90,// { z 
              }<BR>};&lt;/P&gt;&lt;P&gt;<BR><BR></FONT><BR><BR>
              <P align=right>原作者:鞠春阳<BR>来 
              源:http://www.mcuzb.com<BR>共有4530位读者阅读过此文 <BR><BR>【<A 
              href="http://www.mcuzb.com/article/sendmail.asp?id=223" 
              target=_blank>告诉好友</A>】 </P></BLOCKQUOTE><IMG height=16 
            src="PC机按通与ASCII照表.files/gb.gif" width=20>欢迎您到我们的<A 
            href="http://bbs.5boy.com/" target=_blank><FONT 
            color=#ff0000><B>技术论坛</B></FONT></A>来发表您的高见…… 
            <P>
            <LI>上篇文章:<A 
            href="http://www.mcuzb.com/article/list.asp?id=222">单片机驱动标准PC机键盘的C51程序</A> 
            <BR>
            <LI>下篇文章:已经没有了 </LI></TD></TR>
        <TR>
          <TD class=title3 width="50%">□- 本周热门文章 </TD>
          <TD class=title3 width="50%">□- 相关文章 </TD></TR>
        <TR class=tdbg>
          <TD vAlign=top width="50%"></TD>
          <TD vAlign=top width="50%"><A 
            href="http://www.mcuzb.com/article/list.asp?id=237">7279驱动8个数码管及64个按键电路</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=236">数字调节低功耗有源滤波器</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=235">声控开关及放大器</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=234">声频噪声发生器</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=233">简易镍氢充电器</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=231">红外数据传输设置</A><BR><A 
            href="http://www.mcuzb.com/article/list.asp?id=230">红外发射机 
            接收机电路</A><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -