Commit cd472d65 authored by julien.delange's avatar julien.delange

* udpate driver and avoid latency issues



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@1384 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent efcc05e0
......@@ -13,7 +13,7 @@ end spg_generic_keyboard_init;
thread keyboard_poller
features
key_pressed : out data port Base_Types::Character;
key_pressed : out data port Base_Types::Integer;
end keyboard_poller;
thread implementation keyboard_poller.i
......@@ -24,14 +24,14 @@ calls
connections
parameter pspg.key_pressed -> key_pressed;
properties
Period => 10ms;
Period => 100ms;
Dispatch_Protocol => Periodic;
end keyboard_poller.i;
subprogram spg_generic_keyboard_poller
features
key_pressed : out parameter Base_Types::Character;
key_pressed : out parameter Base_Types::Integer;
properties
Source_Language => C;
Source_Name => "__po_hi_driver_generic_keyboard_poller";
......@@ -39,7 +39,7 @@ end spg_generic_keyboard_poller;
abstract generic_keyboard_driver
features
key_pressed : out data port Base_Types::Character;
key_pressed : out data port Base_Types::Integer;
end generic_keyboard_driver;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment