Commit f1285676 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Update README.md

parent 7c695f25
......@@ -3,14 +3,34 @@ Set of programs to manipulate data in blc_channels. They do not have any lib dep
i_keyboard
==========
Change values with the user keyboard.
Change values with the keyboard arrows or specific keys. `i_keyboard`
Waiting for one key in '0123456789abcdef'. Quitting with 'q'
/i_keyboard31058
This means that a channel (/i_keyboard31058) of 16 ( because 16 characters in the string) 'UIN8' (default) has been created.
Press Up and Down to increase or decrease the first value. Use Right and Left or key of the key list to select another value to change. `Esc` sets the value back to neutral values (default 50% i.e. 127)
i_keyboard has many options (use `ikeyboard h` to list them) we illustrate some:
i_keyboard -d -tFL32 -k abcd -o/toto
Creates a channel '/toto' of 4 float values between 0 and 1 and display the pourcentage in text mode.
100%(1.00) [/toto] |
^
| 49 49 49 49
| [] [] [] []
0%(0.000) >
>|#a| b| c| d|
We see the initial values are set to 49% (i.e. 0.5) and we can chenge them with the arrow.
You could change the initial value by changing the neutral value (-N).
You can change the min and max with -m and -M. The default step of one keypressed in 0.004 (~1/256) or 1 with UIN8 type. It can be chenged with -S.
Sometime you do not want intermediate values but only toggle to max and min then use -T.
i_keyboard -o/toto
> i_keyboard
==========
Waiting for one key in '0123456789abcdef'. Quitting with 'q'
/toto
\ No newline at end of file
\ No newline at end of file
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