| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include "addons/kodi-dev-kit/include/kodi/c-api/addon-instance/game.h"#include "games/controllers/types/ControllerHub.h"#include "games/controllers/types/ControllerNode.h"#include "games/ports/types/PortNode.h"#include <gtest/gtest.h>Functions | |
| TEST (TestPortNodeInput, RootKeyboard) | |
| TEST (TestPortNodeInput, RootMouse) | |
| TEST (TestPortNodeInput, NestedKeyboard) | |
| TEST (TestPortNodeInput, NestedMouse) | |
| TEST | ( | TestPortNodeInput | , | 
| NestedKeyboard | ) | 
Verify that nested keyboard ports are discovered through connected controllers.
| TEST | ( | TestPortNodeInput | , | 
| NestedMouse | ) | 
Verify that nested mouse ports are discovered through connected controllers.
| TEST | ( | TestPortNodeInput | , | 
| RootKeyboard | ) | 
Verify that a keyboard port at the root level is returned by GetKeyboardPorts.
| TEST | ( | TestPortNodeInput | , | 
| RootMouse | ) | 
Verify that a mouse port at the root level is returned by GetMousePorts.