Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

custom keyboard keycodes

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi does anyone know where i can find keycodes for symbols like "^,*[]" etc i have some of them and i have "0-9"+"a-z" i will post them below in case there of use to anyone but i cant find a complete list anywhere i know the android api has some info on this at https://developer.android.com/reference/android/inputmhtmlethodservice/Keyboard.Key.html but i cant figure out the api there are values the but no ints which are required if anyone could point me to a list or explain the doc would be great. below is me xml file for keyboard i need the (android:codes=?) for symbols like pound sign and move coursor back one space without deleting etc

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
   android:keyWidth="10%p"
   android:horizontalGap="0px"
   android:verticalGap="0px"
   android:keyHeight="60dp"
   >
   <Row>
       <Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left"/>
       <Key android:codes="50" android:keyLabel="2"/>
       <Key android:codes="51" android:keyLabel="3"/>
       <Key android:codes="52" android:keyLabel="4"/>
       <Key android:codes="53" android:keyLabel="5"/>
       <Key android:codes="54" android:keyLabel="6"/>
       <Key android:codes="55" android:keyLabel="7"/>
       <Key android:codes="56" android:keyLabel="8"/>
       <Key android:codes="57" android:keyLabel="9"/>
       <Key android:codes="48" android:keyLabel="0"/>
       <Key android:codes="-5" android:keyLabel="DEL" android:keyEdgeFlags="right"/>
   </Row>
   <Row>
       <Key android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
       <Key android:codes="119" android:keyLabel="w"/>
       <Key android:codes="101" android:keyLabel="e"/>
       <Key android:codes="114" android:keyLabel="r"/>
       <Key android:codes="116" android:keyLabel="t"/>
       <Key android:codes="121" android:keyLabel="y"/>
       <Key android:codes="117" android:keyLabel="u"/>
       <Key android:codes="105" android:keyLabel="i"/>
       <Key android:codes="111" android:keyLabel="o"/>
       <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
   </Row>
   <Row>
       <Key android:codes="-1" android:keyLabel="CAPS" android:keyEdgeFlags="left"/>
       <Key android:codes="97" android:keyLabel="a" />
       <Key android:codes="115" android:keyLabel="s"/>
       <Key android:codes="100" android:keyLabel="d"/>
       <Key android:codes="102" android:keyLabel="f"/>
       <Key android:codes="103" android:keyLabel="g"/>
       <Key android:codes="104" android:keyLabel="h"/>
       <Key android:codes="106" android:keyLabel="j"/>
       <Key android:codes="107" android:keyLabel="k"/>
       <Key android:codes="108" android:keyLabel="l"/>
       <Key android:codes="-4" android:keyLabel="DONE" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
   </Row>
   <Row>
       <Key android:codes="122" android:keyLabel="z"/>
       <Key android:codes="120" android:keyLabel="x"/>
       <Key android:codes="99" android:keyLabel="c"/>
       <Key android:codes="118" android:keyLabel="v"/>
       <Key android:codes="98" android:keyLabel="b"/>
       <Key android:codes="110" android:keyLabel="n"/>
       <Key android:codes="109" android:keyLabel="m"/>
       <Key android:codes="47" android:keyLabel="/" android:keyWidth="10%p" />
       <Key android:codes="46" android:keyLabel="."/>
       <Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="right"/>
   </Row>
   <Row android:rowEdgeFlags="bottom">
       <Key android:codes="44" android:keyLabel="," android:keyWidth="10%p"  android:keyEdgeFlags="left"/>
       <Key android:codes="32" android:keyLabel="SPACE" android:keyWidth="40%p" android:isRepeatable="true"/>
       <Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="right"/>
       <Key android:codes="91" android:keyLabel="back"/>
       <Key android:codes="22" android:keyLabel="forward"/>
       <Key android:codes="-1577" android:keyLabel="symbols"/>
   </Row>
</Keyboard>
 
Saloon Keeper
Posts: 7062
164
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those look like standard ASCII codes.
 
john bean
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks your right and thanks to you i have full list @  http://www.asciitable.com/ thanks allot i do not have all the answers yet but thanks to you at least i know the fecking question! thanks
 
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic