Author Topic: Slightly updated libseek-thermal (keyboard interface)  (Read 682 times)

0 Members and 1 Guest are viewing this topic.

Offline flyingfishfingerTopic starter

  • Contributor
  • Posts: 38
  • Country: us
Slightly updated libseek-thermal (keyboard interface)
« on: December 19, 2019, 11:23:28 pm »
Hey,
I forked this repo to add a bit of functionality that I wanted. My changes can be found here: https://github.com/rsend/libseek-thermal

As I'm not a software engineer, I can't possibly hope to match even a subset of joe-c's excellent work, but I did add the following functionality to the seek_viewer example according to my own usage model:

- Cycle through color maps with the 'c' key
- Manually adjust brightness & contrast using w/a/s/d if invoked with "-n 1".
- Rotate through 0/90/270 degrees with 'r'
- Move the window with arrow keys (currently only tested on Ubuntu; apparently scan codes for the arrow keys vary significantly across platforms and frontends)
- Scale the output using + & - (i,e Shift + "=" for plus and just - for minus). Numpad +/- return different scancodes, not implemented at the moment but easy to add if desired

If you find this useful and have a chance to test it on other Unixes, please comment on what works / doesn't. It'll probably be a matter of keyboard scancodes.

Enjoy,
Rafael
 
The following users thanked this post: Stephmw


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf