Permalink
Browse files

Move debugging code to dumpKeyboardType: and fix dead several key ide…

…ntification bugs.
  • Loading branch information...
K8TIY committed Dec 21, 2011
1 parent ebfd826 commit a1d595248548c9454e8efddea04719a6edae4195
Showing with 284 additions and 134 deletions.
  1. +4 −0 KeyboardParser/KeylayoutParser.h
  2. +279 −134 KeyboardParser/KeylayoutParser.m
  3. +1 −0 KeyboardParser/main.m
@@ -26,13 +26,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
+(NSComparisonResult)compareKeyboardSequence:(NSString*)s1
withSequence:(NSString*)s2;
++(BOOL)isModifier:(unichar)ch;
-(unsigned)matchingKeyboardType;
-(void)parseKeyboardType:(unsigned)kbtype withObject:(id)obj selector:(SEL)selector;
-(NSString*)copySequenceForKeyboardType:(unsigned)kbtype atIndex:(unsigned)idx;
-(unichar)state0OutputForKeyboardType:(unsigned)kbtype atIndex:(unsigned)idx
nextState:(UInt16*)oNextState;
-(NSString*)copyOutputForKeyboardType:(unsigned)kbtype atIndex:(unsigned)idx
inState:(UInt16)state;
+-(unsigned)countTerminatorsForKeyboardType:(unsigned)kbtype;
+-(NSString*)copyTerminatorForKeyboardType:(unsigned)kbtype forState:(unsigned)state;
+-(void)dumpKeyboardType:(unsigned)kbtype;
@end
char* VKKName(unsigned idx);
Oops, something went wrong.

0 comments on commit a1d5952

Please sign in to comment.