From 3d9c87713549b06c4505b15f37ef8e9785d0ab0d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 17 Feb 2012 17:22:19 +0800 Subject: [PATCH] Modules/USB - Made HIDMouse a folder --- KernelLand/Modules/USB/HID/mouse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/KernelLand/Modules/USB/HID/mouse.c b/KernelLand/Modules/USB/HID/mouse.c index d590b32f..d34ee277 100644 --- a/KernelLand/Modules/USB/HID/mouse.c +++ b/KernelLand/Modules/USB/HID/mouse.c @@ -76,7 +76,10 @@ tVFS_NodeType gHID_Mouse_DevNodeType = { }; tDevFS_Driver gHID_Mouse_DevFS = { .Name = "USBMouse", - .RootNode = {.Type = &gHID_Mouse_RootNodeType} + .RootNode = { + .Type = &gHID_Mouse_RootNodeType, + .Flags = VFS_FFLAG_DIRECTORY + } }; tHID_ReportCallbacks gHID_Mouse_ReportCBs = { .Collection = HID_Mouse_Report_Collection, -- 2.20.1