Skip to content

Commit

Permalink
Adding rotation trigger support
Browse files Browse the repository at this point in the history
- Incrementing to 0.5.6
  • Loading branch information
haata committed Aug 11, 2018
1 parent 8c41947 commit d5fa793
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CapabilityTable.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
kbdProtocolNKRO & Output\textunderscore kbdProtocolNKRO\textunderscore capability & \\
layerLatch & Macro\textunderscore layerLatch\textunderscore capability & layer : 2 \\
layerLock & Macro\textunderscore layerLock\textunderscore capability & layer : 2 \\
layerRotate & Macro\textunderscore layerRotate\textunderscore capability & previous : 1 \\
layerShift & Macro\textunderscore layerShift\textunderscore capability & layer : 2 \\
layerState & Macro\textunderscore layerState\textunderscore capability & layer : 2, state : 1 \\
noneOut & Output\textunderscore noneSend\textunderscore capability & \\
rotate & Macro\textunderscore rotate\textunderscore capability & index : 1, rotation : 1 \\
sysCtrlOut & Output\textunderscore sysCtrlSend\textunderscore capability & sysCode : 1 \\
usbKeyOut & Output\textunderscore usbCodeSend\textunderscore capability & usbCode : 1 \\

3 changes: 2 additions & 1 deletion TriggerCodeTable.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
0x12 (18) & Resume Bank 1 & 0-255 \\
0x13 (19) & Inactive Bank 1 & 0-255 \\
0x14 (20) & Active Bank 1 & 0-255 \\
0x15 (21) & Rotation Bank 1 & 0-255 \\
\hline
% 0x15 - 0xFE Reserved
% 0x16 - 0xFE Reserved
0xFF (255) & Debug State & \\
18 changes: 16 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
% - FIXME is another highlighting tag :D


\title{KLL Spec v0.5.5}
\title{KLL Spec v0.5.6}
\titlename{Keyboard Layout Language Spec}
\author{HaaTa - Jacob Alexander}
\email{[email protected]}
\docrev{DRAFT - 0.5.5}
\docrev{DRAFT - 0.5.6}
\urlname{kiibohd.com}

%%% Titlepage %%%
Expand All @@ -43,6 +43,7 @@
\vhEntry{0.5c}{2016-10-09}{HaaTa}{Adding pixel addressing types}
\vhEntry{0.5.4}{2018-03-24}{HaaTa}{Adding new trigger options}
\vhEntry{0.5.5}{2018-05-03}{HaaTa}{Adding Locale support}
\vhEntry{0.5.6}{2018-08-11}{HaaTa}{Adding rotation trigger}
\end{versionhistory}

%%% Tables %%%
Expand Down Expand Up @@ -650,6 +651,19 @@ \subsection{Generic Triggers}
T[19,0] : <result>;
# 2 minutes after device usages stops
T[19,2] : <result>;

# Two rotation triggers, 0 and 1
T[20,0](0) : <resulta1>;
T[20,0](1) : <resulta2>;
T[20,0](2) : <resulta3>;
T[20,1](0) : <resultb1>;
T[20,1](1) : <resultb2>;

# Rotate right rotation 0
<trigger> : rotate(0, 1);

# Rotate left rotation 1
<trigger> : rotate(1, -1);
\end{lstlisting}


Expand Down

0 comments on commit d5fa793

Please sign in to comment.