Skip to content

IR namespace

Piotr Oniszczuk edited this page Dec 9, 2020 · 1 revision

OVERVIEW

Minimyth2 has build-in IR support based on LIRC. LIRC architecture (in big simplification) has 2 major components: PunktorIR decode component PunktorKey-to-application daemon IR decode component recognizes given remote IR pulses and translates them to key-presses. Key-to-application daemon transfers above key-presses to user programs and applications thus allowing to control them via IR remote. Both components will work together when they will use common language (IR decode must operate with well defined key-press names which are understand by Key-to-application daemon). This set of names is called IR namespace.

IR NAMESPACE

Following IR keys are recognized by build-in LIRC configuration:

KEY_POWER
KEY_POWER2
KEY_SLEEP
KEY_TV
KEY_MEDIA
KEY_EPG
KEY_PVR
KEY_TUNER
KEY_DVD
KEY_IMAGE
KEY_AUDIO
KEY_MP3
KEY_RECORD
KEY_STOP
KEY_PAUSE
KEY_PLAYPAUSE
KEY_PLAY
KEY_REWIND
KEY_FASTFORWARD
KEY_PREVIOUS
KEY_NEXT
KEY_BACK
KEY_CLEAR
KEY_ESC
KEY_EXIT
KEY_INFO
KEY_NUMERIC_POUND
KEY_NUMERIC_STAR
KEY_UP
KEY_DOWN
KEY_LEFT
KEY_RIGHT
KEY_OK
KEY_ENTER
KEY_MENU
KEY_CONTEXT_MENU
KEY_PROGRAM
KEY_MORE
KEY_CHANNELUP
KEY_CHANNELDOWN
KEY_PAGEUP
KEY_PAGEDOWN
KEY_VOLUMEUP
KEY_VOLUMEDOWN
KEY_MUTE
KEY_LAST
KEY_NUMERIC_1
KEY_NUMERIC_2
KEY_NUMERIC_3
KEY_NUMERIC_4
KEY_NUMERIC_5
KEY_NUMERIC_6
KEY_NUMERIC_7
KEY_NUMERIC_8
KEY_NUMERIC_9
KEY_NUMERIC_0
KEY_ZOOM
KEY_SUBTITLE
KEY_TEXT
KEY_DELETE      

If user wants to use it’s own namespace & mapping - there is possibility to load user LIRCRC file with help of MM_LIRC_FETCH_LIRCRC=‘yes’ variable in minimyth.conf file and ‘lircrc‘ file present in conf directory.