diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-07-30 16:08:45 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-07-30 16:08:45 +0200 |
commit | 4d6857993ea9f39ff4113809fd7b2272ff83647f (patch) | |
tree | 2f43e0ab4f358643abcfd91757c4a08c7bd06736 /src/srp/fw-ec/kbd-sc-cb.c.html | |
parent | 76b9350e890f78ce4b5d7544c8a5d2dac1819153 (diff) |
Finish the Framework EC page
Diffstat (limited to 'src/srp/fw-ec/kbd-sc-cb.c.html')
-rw-r--r-- | src/srp/fw-ec/kbd-sc-cb.c.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/srp/fw-ec/kbd-sc-cb.c.html b/src/srp/fw-ec/kbd-sc-cb.c.html new file mode 100644 index 0000000..6fffdc5 --- /dev/null +++ b/src/srp/fw-ec/kbd-sc-cb.c.html @@ -0,0 +1,7 @@ +<code><span class="c-cmt">/* “make_code” is the scancode. “pressed” is a boolean that is true if this is a</span></code> +<code><span class="c-cmt"> * keydown event, and false if it’s a keyup.</span></code> +<code><span class="c-cmt"> */</span></code> +<code></code> +<code>r = <span class="c-fn">my_handler_function</span>(make_code, pressed);</code> +<code><span class="c-kw">if</span> (r != <span class="c-pp">EC_SUCCESS</span>)</code> +<code> <span class="c-kw">return</span> r;</code> |