Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
spiffchorder:chord_creation [2008/01/14 18:14] priestdospiffchorder:chord_creation [2023/02/09 23:32] (current) – external edit 127.0.0.1
Line 21: Line 21:
  
 ==== 3 modes available ==== ==== 3 modes available ====
 +
  
  
Line 26: Line 27:
 ==== keycodes.h ==== ==== keycodes.h ====
  
-The keycodes.h file contains the names you will assign to your chords.+The {{spiffchorder:keycodes.h|keycodes.h}} file contains the names you will assign to your chords.
 Unless you want to rewright some of the code (which you are more than welcome to do) you are restrictied to these key codes.  They are the usb keyboard key codes, the codes for the spiffchorder mode manipulation and some special codes that are translated by the program into a sequence of usb key codes.  There are a few kinds of lines in keycodes.h, any section beginning with slash asterik ''/*'' is a comment section up through the ''*/'' Anything following 2 slashes ''%%//%%'' is a comment from there through the end of that line.  Other than comments, there are several types of lines you need to know about: Unless you want to rewright some of the code (which you are more than welcome to do) you are restrictied to these key codes.  They are the usb keyboard key codes, the codes for the spiffchorder mode manipulation and some special codes that are translated by the program into a sequence of usb key codes.  There are a few kinds of lines in keycodes.h, any section beginning with slash asterik ''/*'' is a comment section up through the ''*/'' Anything following 2 slashes ''%%//%%'' is a comment from there through the end of that line.  Other than comments, there are several types of lines you need to know about:
  
Line 61: Line 62:
  
 ==== Planning ==== ==== Planning ====
 +
  
 ===== The Format of the .h file ===== ===== The Format of the .h file =====
 +An empty chord file is provided as {{spiffchorder:empty.h|empty.h}}.  You can use it as a template for your custom chorder.
  
 ===== Building the Cross Compiler ===== ===== Building the Cross Compiler =====