are there any special gadgets that are used?
Qibla compass is one of them
Qibla
Muslims use various instruments to find the qibla direction when not near a mosque. The qibla compass is a magnetic compass which includes a table or a list of qibla angles from major settlements. Some electronic versions use satellite coordinates to calculate and indicate the qibla automatically. Qibla compasses have existed since around 1300, supplemented by the list of qibla angles often written on the instruments themselves. Hotel rooms with Muslim guests may use a sticker showing the qibla on the ceiling or a drawer. With the advent of computing, various mobile apps and websites use formulae to calculate the qibla for their users.
the hajj was a turning point in muslim history The qibla  is the direction towards the Kaaba in the Sacred Mosque in Mecca, which is used by Muslims in various religious contexts, particularly the direction of prayer for the salah and hajj pilgrimage why is this direction given importance? It  is also the direction for entering the "ihram" what does this term in quotes mean? It is a sacred state which a Muslim must enter in order to perform the major pilgrimage or the minor pilgrimage how should a person conduct themselves when visiting this place? Aside from being as clean as they are for prayer, male Muslims are expected to refrain from cutting their nails, and trimming their hair and beards. They must also not wear any scent, including deodorant. They have to wear "ihram" clothing, which is a white, seamless garment can you explain the holy place mentioned above that has the sacred mosque? Makkah, officially Makkah al-Mukarramah  and commonly shortened to Mecca, is the holiest city in Islam and the capital of the Makkah Province of Saudi Arabia how did this place get its name? The etymology of Makkah is obscure, widely believed to be a synonym for Makkah, it is said to be more specifically the early name for the valley located therein, while Muslim scholars generally use it to refer to the sacred area of the city that immediately surrounds and includes the Ka'bah why is this place important to the religion? Because the city derives its importance from the role it plays in the Hajj and 'Umrah how was the direction for prayers found in historic days? Historical records and surviving old mosques show that throughout history the qibla was often determined by simple methods based on tradition or "folk science" not based on mathematical astronomy
wiki:11676505
Qibla [SEP] Instruments
Muslims use various instruments to find the qibla direction when not near a mosque. The qibla compass is a magnetic compass which includes a table or a list of qibla angles from major settlements. Some electronic versions use satellite coordinates to calculate and indicate the qibla automatically. Qibla compasses have existed since around 1300, supplemented by the list of qibla angles often written on the instruments themselves. Hotel rooms with Muslim guests may use a sticker showing the qibla on the ceiling or a drawer. With the advent of computing, various mobile apps and websites use formulae to calculate the qibla for their users.