Last change
on this file was f1380b7, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 7 years ago |
style: Remove trailing whitespace on _all_ lines, including empty ones, remaining files.
|
-
Property mode
set to
100644
|
File size:
601 bytes
|
Line | |
---|
1 | interface kbd extends service {
|
---|
2 | /* Callback connection */
|
---|
3 | sysarg_t ipc_m_connect_to_me(void);
|
---|
4 |
|
---|
5 | /* Yield hardware */
|
---|
6 | sysarg_t yield(void);
|
---|
7 |
|
---|
8 | /* Reclaim hardware */
|
---|
9 | sysarg_t reclaim(void);
|
---|
10 | protocol:
|
---|
11 | [kbd.bp]
|
---|
12 | };
|
---|
13 |
|
---|
14 | interface event {
|
---|
15 | /* Send keyboard event */
|
---|
16 | sysarg_t event(in sysarg_t type, in sysarg_t key, in sysarg_t mods, in sysarg_t char);
|
---|
17 | protocol:
|
---|
18 | [event.bp]
|
---|
19 | };
|
---|
20 |
|
---|
21 | frame kbd {
|
---|
22 | provides:
|
---|
23 | kbd kbd;
|
---|
24 | requires:
|
---|
25 | [/uspace/lib/libc/requires]
|
---|
26 | event event;
|
---|
27 | ns ns;
|
---|
28 | initialization:
|
---|
29 | !ns.ipc_m_connect_to_me /* kbd */ ;
|
---|
30 | !event.event*
|
---|
31 | protocol:
|
---|
32 | [/uspace/lib/libc/protocol]
|
---|
33 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.