1.1 --- a/conf/landfall-examples/mips-qi_lb60-keypad-demo.cfg Thu May 17 22:49:35 2018 +0200
1.2 +++ b/conf/landfall-examples/mips-qi_lb60-keypad-demo.cfg Fri May 18 15:35:58 2018 +0200
1.3 @@ -152,25 +152,49 @@
1.4 },
1.5 "rom/ex_qi_lb60_keypad_physical");
1.6
1.7 +-- Expose the keypad events.
1.8 +
1.9 +local ev1 = l:new_channel();
1.10 +
1.11 +l:start({
1.12 + caps = {
1.13 + keypad = keypad,
1.14 + ev = ev1:svr(),
1.15 + },
1.16 + },
1.17 + "rom/dev_input_keypad_qi_lb60");
1.18 +
1.19 -- Show key event values.
1.20
1.21 l:start({
1.22 caps = {
1.23 fb = mag_caps.svc:create(L4.Proto.Goos, "g=160x110+0+120", "barheight=10"),
1.24 - keypad = keypad,
1.25 + ev = ev1,
1.26 },
1.27 },
1.28 - "rom/ex_qi_lb60_keypad_driver");
1.29 + "rom/ex_input_event_client");
1.30 +
1.31 +-- Expose the keypad events.
1.32 +
1.33 +local ev2 = l:new_channel();
1.34 +
1.35 +l:start({
1.36 + caps = {
1.37 + keypad = keypad,
1.38 + ev = ev2:svr(),
1.39 + },
1.40 + },
1.41 + "rom/dev_input_keypad_qi_lb60");
1.42
1.43 -- Show key strings.
1.44
1.45 l:startv({
1.46 caps = {
1.47 fb = mag_caps.svc:create(L4.Proto.Goos, "g=160x110+160+120", "barheight=10"),
1.48 - keypad = keypad,
1.49 + ev = ev2,
1.50 },
1.51 },
1.52 - "rom/ex_qi_lb60_keypad_driver", "chars");
1.53 + "rom/ex_input_event_client", "chars");
1.54
1.55 -- Control the backlight using the keyboard.
1.56
2.1 --- a/conf/landfall-examples/mips-qi_lb60-keypad-demo.list Thu May 17 22:49:35 2018 +0200
2.2 +++ b/conf/landfall-examples/mips-qi_lb60-keypad-demo.list Fri May 18 15:35:58 2018 +0200
2.3 @@ -19,7 +19,8 @@
2.4 module dev_panel_qi_lb60
2.5 module dev_cpm_jz4740
2.6 module dev_keypad_qi_lb60
2.7 -module ex_qi_lb60_keypad_driver
2.8 +module dev_input_keypad_qi_lb60
2.9 +module ex_input_event_client
2.10 module ex_keypad_ds_client
2.11 module ex_qi_lb60_keypad_physical
2.12 module ex_qi_lb60_backlight