21 #include "modules/Module.h" 22 #include "pedigree/kernel/Log.h" 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/machine/Device.h" 25 #include "pedigree/kernel/utilities/String.h" 26 #include "pedigree/kernel/utilities/Vector.h" 27 #include "pedigree/kernel/utilities/utility.h" 28 #include "system/kernel/machine/mach_pc/Ps2Controller.h" 41 if (p->addresses().count() > 0)
43 if (p->addresses()[0]->m_Name ==
"ps2-base")
50 g_Ps2Mouse = pNewChild;
54 ERROR(
"PS/2 Mouse initialisation failed!");
63 auto c = pedigree_std::make_callable(f);
82 MODULE_NAME(
"ps2mouse");
virtual bool initialise(Ps2Controller *pController)
static void addToRoot(Device *device)
static void foreach(Callback callback, Device *root=0)