Skip to content

Commit

Permalink
Input Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jun 28, 2014
1 parent 135ab75 commit 07357c1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/i-nex/.src/Input_Devices.module
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,8 @@ Public Sub _inits()
End

Public Sub _get_informations()

Shell "cat /sys/class/input/" & Finfosys.ComboBox7.Text & "/name" Wait To Name
Shell "cat /sys/class/input/" & Finfosys.ComboBox7.Text & "/phys" Wait To Phys
Shell "cat /sys/class/input/" & Finfosys.ComboBox7.Text & "/modalias" Wait To Modalias
Name = Replace(Name, "\n", "")
Phys = Replace(Phys, "\n", "")
Modalias = Replace(Modalias, "\n", "")
Finfosys.Label82.Text = "Name: " & Name
Finfosys.Label83.Text = "Phys: " & Phys
Finfosys.TextBox45.Text = Modalias
Try Finfosys.Label82.Text = "Name: " & Replace(File.Load("/sys/class/input/" & Finfosys.ComboBox7.Text & "/name"), "\n", "")
Try Finfosys.Label83.Text = "Phys: " & Replace(File.Load("/sys/class/input/" & Finfosys.ComboBox7.Text & "/phys"), "\n", "")
Try Finfosys.TextBox45.Text = Replace(File.Load("/sys/class/input/" & Finfosys.ComboBox7.Text & "/modalias"), "\n", "")
End

0 comments on commit 07357c1

Please sign in to comment.