Should apply to openSUSE as well.
Just one note though: in current openSUSE releases the udev files have been moved to /usr/lib/udev/ instead of the earlier /lib/udev/.
Actually, custom .hwdb file should really go in the /etc/udev/hwdb.d/ directory so they won’t be overwritten by udev updates. The original file in /usr/lib/udev/hwdb.d/ can be copied across and edited as required.
Reading the following man page
man udev
it is mentioned
The hwdb files are read from the files located in the system hwdb directory /usr/lib/udev/hwdb.d,
the volatile runtime directory /run/udev/hwdb.d and the local administration directory
/etc/udev/hwdb.d. All hwdb files are collectively sorted and processed in lexical order, regardless
of the directories in which they live. However, files with identical filenames replace each other.
Files in /etc have the highest priority, files in /run take precedence over files with the same
name in /lib. This can be used to override a system-supplied hwdb file with a local file if needed;
a symlink in /etc with the same name as a hwdb file in /lib, pointing to /dev/null, disables the
hwdb file entirely. hwdb files must have the extension .hwdb; other extensions are ignored.