diff options
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> |