lircr/examples/irw.rb
hans 911e513d44 irw.rb
darcs-hash:20090326180419-28bda-da2ee7f295f802564f1e567bd46b23e99c764413.gz
2009-03-26 12:04:19 -06:00

7 lines
121 B
Ruby
Executable file

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