Giter Site home page Giter Site logo

cec-mini-kb's Introduction

cec-mini-kb

Small utility to use a CEC remote controller as a mini keyboard in Linux (libcec+uinput), with the only ambition of being able to navigate user interfaces.

Usage

Typical usage of the tool is within a service loaded at startup or launched with systemd-run when needed.

-p, --poweroff "<command>" option allows a custom shell command (e.g. shutdown -P now) to be called when system standby event (e.g. turning off the monitor/tv from remote) is received.

-a, --adapter <num> specify the adapter to use (0-9). Default adapter is 0.

-b, --bindings <file> specify the bindings map file name. See map.txt example file.

Key bindings

  • REMOTE SELECT -> KEY ENTER
  • REMOTE UP -> KEY UP
  • REMOTE DOWN -> KEY DOWN
  • REMOTE LEFT -> KEY LEFT
  • REMOTE RIGH -> KEY RIGHT
  • REMOTE EXIT -> KEY BACKSPACE
  • REMOTE BLUE -> KEY ESC
  • REMOTE RED -> KEY LEFT SHIFT
  • REMOTE GREEN -> KEY SPACE
  • REMOTE YELLOW -> KEY DELETE
  • REMOTE {0 to 9} -> KEY {0 to 9} (or ABC DEF ... WXYZ with multiple presses, like old cellphones)
  • REMOTE FORWARD -> KEY TAB
  • REMOTE BACKWARD -> KEY LEFTSHIFT + KEY TAB

cec-mini-kb's People

Contributors

spleen1981 avatar gabriel-tandil avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gabriel-tandil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.