Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bin: lib: implement setting state of individual LEDs | Philipp Gesang | 2021-12-12 | 1 | -1/+25 |
| | |||||
* | bin: implement led revert | Philipp Gesang | 2021-12-12 | 1 | -0/+3 |
| | | | | | | | | | | | | Command: $ vtcol leds set --revert Implementing this detail of KDSETLED: [I]f a higher order bit is set, the LEDs revert to normal: displaying the state of the keyboard functions of caps lock, num lock, and scroll lock. | ||||
* | bin: implement “leds set” subcommand | Philipp Gesang | 2021-12-12 | 1 | -1/+27 |
| | | | | | | | Currently only supports setting the raw state from an integer value: $ vtcol leds set -8 2 | ||||
* | add KDGETLED subcommand to vtcol-bin | Philipp Gesang | 2021-12-08 | 1 | -1/+27 |
| | | | | | | | | | Actually we add both subcommand and sub-subcommand. Example: [*] 15:52:40 phg@acheron vtcol $ vtcol leds get Caps: false, Num: true, Scroll: false | ||||
* | add ioctl wrappers for KDGETLED / KDSETLED | Philipp Gesang | 2021-12-08 | 1 | -5/+119 |
| | |||||
* | move base64 handling out of Palette | Philipp Gesang | 2021-11-25 | 1 | -14/+19 |
| | | | | | Try and not encumber the lower level types with more dependencies than needed. | ||||
* | don’t panic!() on open(2) failure | Philipp Gesang | 2021-11-24 | 1 | -10/+10 |
| | |||||
* | add base64 input for ‘set’ | Philipp Gesang | 2021-11-24 | 1 | -0/+31 |
| | |||||
* | add base64 output for ‘get’ | Philipp Gesang | 2021-11-24 | 1 | -1/+5 |
| | |||||
* | optionally clear after each fade step | Philipp Gesang | 2021-11-23 | 1 | -3/+13 |
| | |||||
* | implement fading | Philipp Gesang | 2021-11-23 | 1 | -1/+98 |
| | | | | vtcol fade --ms 1000 --frequency 10 --to solarized & dmesg | ||||
* | get rid of useless lifetimes | Philipp Gesang | 2021-11-22 | 1 | -5/+5 |
| | |||||
* | switch RawPalette to integer representation | Philipp Gesang | 2021-11-16 | 1 | -48/+93 |
| | | | | | Introducing a simple type for RGB colors. That awkward string representation for RawPalette got unwieldy quick. | ||||
* | add KDGKBTYPE wrapper | Philipp Gesang | 2021-11-15 | 1 | -8/+14 |
| | |||||
* | namespace ioctl related symbols | Philipp Gesang | 2021-11-15 | 1 | -45/+53 |
| | |||||
* | move console handling into lib | Philipp Gesang | 2021-11-15 | 1 | -5/+152 |
| | | | | | All operations are now exposed through wrappers that are member functions of ``vtcol::Console``. | ||||
* | use idiomatic syscall error wrappers | Philipp Gesang | 2021-11-15 | 1 | -24/+48 |
| | | | | | A simplified version of the function used in std which aren’t made public. | ||||
* | turn Fd into proper wrapper | Philipp Gesang | 2021-11-15 | 1 | -5/+25 |
| | |||||
* | lib: split out library | Philipp Gesang | 2021-11-15 | 1 | -0/+528 |
Not really a satisfactorily clean split as of yet but it’s a start. Error types have been changed from anyhow to io::Error in ``lib.rs`` so as to not force an error handling crate on downstream users. |