This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample APEM joystick parsing with hidapi | |
import hid | |
def button_parse(raw_data): | |
""" | |
:param input_list: tuple of bitmaps | |
:return: button | |
""" | |
a = 1 if raw_data[4] & 2 == 2 else 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { WhereFilterOp } from "firebase/firestore"; | |
export interface IQuery { | |
ref: string; | |
operator: WhereFilterOp; | |
value: any; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from "react"; | |
import { ZoomMtg } from '@zoomus/websdk'; | |
import axios from 'axios'; | |
import 'jquery/src/jquery'; | |
function Zoom({ meetingNumber, passWord, userName, role }) { | |
const [zoomState, setZoomState] = useState({ | |
meetingNumber: '', | |
passWord: '', |