Generating Hall code

Hello, How do I generate a Hall code if my Hall signals are coming from different GPIO pins like GPIO-5,GPIO-19,GPIO-24.. not in a sequential ports GPIO1,2,3... How can I give them to a case block. I see in all the examples they are considering hall signals coming from sequential GPIO pins.. Is there any other ways to get a Hall code if they are coming from different GPIO pins as I mentioned 5,19,24... like that or else how can I use the case block in this case? Please help me.

Thanks.

You can or the three single

You can or the three single bit channels together after shifting them appropriately like so:
or bits