lircr/examples/irw.rb

7 lines
121 B
Ruby
Raw Normal View History

#!/usr/bin/ruby
# rewrite of lirc's own irw using lircr
require 'lirc'
l = LIRC::Client.new
puts l.next.to_s while true