Author Topic: UIKey Binding - keyboard+mouse selection problem  (Read 12646 times)

codejoy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: UIKey Binding - keyboard+mouse selection problem
« Reply #15 on: February 21, 2015, 02:00:05 PM »
That's just the thing.   Thexample foudoes not work out iofthe box.   Was there something else to be done on it?  Just opening it up and pressing enter on the options button does nothing 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIKey Binding - keyboard+mouse selection problem
« Reply #16 on: February 22, 2015, 09:27:48 AM »
Hmm... you're right, that's a bug. I'm going to look into what changed and fix it.

Edit: Replace all instances of:
  1. if (UICamera.currentTouchID < -1) return;
with:
  1. if (UICamera.currentTouchID < -1 && UICamera.currentScheme != UICamera.ControlScheme.Controller) return;

codejoy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: UIKey Binding - keyboard+mouse selection problem
« Reply #17 on: February 24, 2015, 12:57:17 PM »
Excellent fix this totally worked, opening up a new discussion on a topic related to this example, but for now this totally worked thanks!