You could set up Macros to pass to the switch which combine the two values into one.
e.g.
/* combine two bytes into one uint16 for compare */
#define EVENT(a,b) ((uint16)(a<<8 & b))
then call the switch with the macro
switch(EVENT(*str1,*str2))
{
case EVENT('B','H,):
....
This we use for...