Which Controls are focusable?
#1
Question 
Hi Guys,

Amateur skinner here. I've noticed on the Kodi Wiki page that some tags are available for "focusable controls" http://kodi.wiki/view/Default_control_ta...e_controls

My question is, apart from a button control, what other controls are focusable? I have tried it on a group control but that didn't seem to work but I don't know if that is because of my code or because it isn't possible.

Thanks

EDIT: Also, how can I label a text to display the current focused ID (for debugging purposes)? I've tried

PHP Code:
<label>Current Focused Control$INFO[System.CurrentControl]</label

but that doesn't seem to return the id of the currently focused control. :/
Reply
#2
Lists, grouplists, spin controls, sliders, etc.

If you're using a nightly -
PHP Code:
$INFO[System.CurrentControlID

Or enable debugging in the skin addon.xml
PHP Code:
debugging="true" 

Or add it to your keymap -
PHP Code:
Skin.ToggleDebug 
Reply
#3
Hitcher, does that mean that <onfocus></onfocus> works in a list container?
Image
Reply
#4
@Mesoptier:
Yes, since Jarvis.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#5
But only when the list first gets focus and not every time you scroll through a list.
Reply

Logout Mark Read Team Forum Stats Members Help
Which Controls are focusable?0