1.1 --- a/pkg/devices/input/src/client/input-event-client.cc Sun May 20 16:54:53 2018 +0200
1.2 +++ b/pkg/devices/input/src/client/input-event-client.cc Mon May 21 00:52:45 2018 +0200
1.3 @@ -30,11 +30,13 @@
1.4 {
1.5 L4::Ipc::Iostream s(l4_utcb());
1.6
1.7 + s << Input_event_op_get_buffer;
1.8 +
1.9 /* Send a "receive item" for requesting a capability. */
1.10
1.11 s << L4::Ipc::Small_buf(mem);
1.12
1.13 - return l4_error(s.call(cap(), Input_event_op_get_buffer));
1.14 + return l4_error(s.call(cap(), Input_event_proto_event));
1.15 }
1.16
1.17 int
1.18 @@ -42,11 +44,12 @@
1.19 {
1.20 L4::Ipc::Iostream s(l4_utcb());
1.21
1.22 + s << Input_event_op_bind;
1.23 s << irqnum;
1.24
1.25 /* Send a "receive item" for requesting a capability. */
1.26
1.27 s << L4::Ipc::Small_buf(irq);
1.28
1.29 - return l4_error(s.call(cap(), Input_event_op_bind));
1.30 + return l4_error(s.call(cap(), Input_event_proto_icu));
1.31 }