Ramón Ángel ESPARZA-CASTILLO, José Alonso Lopez-Romo, I. D. Meza-Ibarra, J. H. Abril-García
{"title":"应用程序监控USB控制与Ruby在Windows和Linux Ubuntu","authors":"Ramón Ángel ESPARZA-CASTILLO, José Alonso Lopez-Romo, I. D. Meza-Ibarra, J. H. Abril-García","doi":"10.35429/jsta.2022.21.8.10.15","DOIUrl":null,"url":null,"abstract":"This work shows the development of an application in Ruby to detect the actions carried out on a USBNes control, with the purpose of achieving an application that can be used for teaching video game programming, connectivity and communication between devices, in the Ruby programming language. In the first stage, an analysis was made of the libraries available in Ruby such as Shoes and Gosu to create GUIs and video games and the detection of an USB device. In the second stage two prototypes were identified that were able to detect the actions carried out on the keyboard. In the last stage the final version was developed which detects the buttons pressed on the remote, the necessary tests were made, and the code was published in a repository in GITLAB for reference and future use. The application was developed and tested for Windows and Linux Ubuntu to prove Ruby's portability.","PeriodicalId":344827,"journal":{"name":"Journal of Scientific and Technical Applications","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Application to monitoring a USB control with Ruby in Windows and Linux Ubuntu\",\"authors\":\"Ramón Ángel ESPARZA-CASTILLO, José Alonso Lopez-Romo, I. D. Meza-Ibarra, J. H. Abril-García\",\"doi\":\"10.35429/jsta.2022.21.8.10.15\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This work shows the development of an application in Ruby to detect the actions carried out on a USBNes control, with the purpose of achieving an application that can be used for teaching video game programming, connectivity and communication between devices, in the Ruby programming language. In the first stage, an analysis was made of the libraries available in Ruby such as Shoes and Gosu to create GUIs and video games and the detection of an USB device. In the second stage two prototypes were identified that were able to detect the actions carried out on the keyboard. In the last stage the final version was developed which detects the buttons pressed on the remote, the necessary tests were made, and the code was published in a repository in GITLAB for reference and future use. The application was developed and tested for Windows and Linux Ubuntu to prove Ruby's portability.\",\"PeriodicalId\":344827,\"journal\":{\"name\":\"Journal of Scientific and Technical Applications\",\"volume\":\"40 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-03-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Scientific and Technical Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.35429/jsta.2022.21.8.10.15\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Scientific and Technical Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.35429/jsta.2022.21.8.10.15","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Application to monitoring a USB control with Ruby in Windows and Linux Ubuntu
This work shows the development of an application in Ruby to detect the actions carried out on a USBNes control, with the purpose of achieving an application that can be used for teaching video game programming, connectivity and communication between devices, in the Ruby programming language. In the first stage, an analysis was made of the libraries available in Ruby such as Shoes and Gosu to create GUIs and video games and the detection of an USB device. In the second stage two prototypes were identified that were able to detect the actions carried out on the keyboard. In the last stage the final version was developed which detects the buttons pressed on the remote, the necessary tests were made, and the code was published in a repository in GITLAB for reference and future use. The application was developed and tested for Windows and Linux Ubuntu to prove Ruby's portability.