I'm creating a custom device in Eagle Library. Generally I need two device, let's say they're CONN2.54_1 and CONN2.54_2. These two devices are connectors, they both have 4 pins, thus they have the same symbol. The difference is the package, one is vertical mount and one is horizontal.
Now I can create 2 separate device successfully. However I want to know how to group them under one "sub-category" in the Library?
For example: when I use the add button in the Schematic Editor, my custom Library should appear like:
MY_LIBRARY\ (This is the main library)
CONN2.54\ (There's a sub-folder name CONN2.54)
CONN2.54_1 (The first device is inside the sub-category)
CONN2.54_2 (The second device is also inside the sub-category)